User can save, reset or cancel.
- Created a notification popups for errors - Added functionality to save, cancel and reset buttons - Key bindings are only saved if they're valid - Added window close event - Can not exit without saving correctly - CSS to cancel, save and reset buttons to differentiate between key buttons - Javadocd #story[1197]
This commit is contained in:
@@ -39,6 +39,10 @@ public class KeyFactory {
|
||||
return keyState;
|
||||
}
|
||||
|
||||
public void setKeyState(Map<String, ControlKey> keyState) {
|
||||
this.keyState = keyState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the key bound to a particular command in the keystate.
|
||||
* @param newKey the new key value for the command
|
||||
|
||||
Reference in New Issue
Block a user