Reset to default button is now functional.
- keybindings are reset to built in default - the table is cleared and reloaded #story[1197]
This commit is contained in:
@@ -147,8 +147,16 @@ public class KeyBindingsController {
|
||||
System.out.println("cancel clicked");
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets all key bindings to the built-in defaults.
|
||||
*/
|
||||
public void reset(){
|
||||
System.out.println("reset clicked");
|
||||
lstKey.getItems().clear();
|
||||
lstControl.getItems().clear();
|
||||
lstDescription.getItems().clear();
|
||||
newKeyFactory = new KeyFactory();
|
||||
initializeTable();
|
||||
populateTable();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user