Modified keymaps are saved at exit

This commit is contained in:
2015-06-26 11:00:02 -05:00
parent 95fc66dfba
commit 8728c74aac
3 changed files with 54 additions and 55 deletions

View File

@@ -23,10 +23,8 @@ class KeystrokeEditor(object):
answer = edit_dialog.get_response()
if answer == widgetUtils.OK:
new_keystroke = self.get_edited_keystroke(edit_dialog)
print new_keystroke
if new_keystroke != self.map[action]:
self.changed = True
print "changed"
self.map[action] = new_keystroke
def set_keystroke(self, keystroke, dialog):