Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sinister Zeta Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sinister Zeta
Sinister Zeta Project
Commits
f5d64d23
Commit
f5d64d23
authored
4 years ago
by
NikolaBabic
Browse files
Options
Downloads
Patches
Plain Diff
Fixed modifier value not being passed
parent
a2edfbe4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!45
Prototype to Master for Milestone 5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/model/profiles/commands/addHotkey.java
+1
-1
1 addition, 1 deletion
src/model/profiles/commands/addHotkey.java
with
1 addition
and
1 deletion
src/model/profiles/commands/addHotkey.java
+
1
−
1
View file @
f5d64d23
...
...
@@ -17,7 +17,7 @@ public class addHotkey extends CommandStatus {
* @param key The key of the hotkey we are making
*/
public
void
AddHotkey
(
String
name
,
int
id
,
Modifier
mod
,
int
key
){
Hotkey
add
=
new
Hotkey
(
key
,
id
,
mod
);
Hotkey
add
=
new
Hotkey
(
key
,
id
,
mod
.
val
()
);
if
(!
profileDatabase
.
database
().
containsKey
(
name
)){
successful
=
false
;
errorMessage
=
"Profile with name "
+
name
+
" does not exist"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment