diff options
author | 2013-10-19 22:47:14 +0200 | |
---|---|---|
committer | 2013-10-19 22:57:57 +0200 | |
commit | 75a071bc7f91423dbf017b139b6ccccd16065e95 (patch) | |
tree | a6cb4a1df8037a76e3cc8529e553b6b9fe10f39f /plugins/gtkui/hotkeys.c | |
parent | 29f60c7e2cd5eddbf056c55f413a1fe2ebdd3ce3 (diff) |
gtkui: better hotkey handling in search window
Diffstat (limited to 'plugins/gtkui/hotkeys.c')
-rw-r--r-- | plugins/gtkui/hotkeys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/hotkeys.c b/plugins/gtkui/hotkeys.c index e3e53736..56b98574 100644 --- a/plugins/gtkui/hotkeys.c +++ b/plugins/gtkui/hotkeys.c @@ -884,6 +884,8 @@ on_hotkeys_defaults_clicked (GtkButton *button, return; } gtkui_set_default_hotkeys (); + hotkeys_load (); + gtkui_hotkeys_changed = 0; } void @@ -921,7 +923,5 @@ gtkui_set_default_hotkeys (void) { deadbeef->conf_set_str ("hotkey.key30", "b 0 0 next"); deadbeef->conf_set_str ("hotkey.key31", "n 0 0 playback_random"); deadbeef->conf_save (); - hotkeys_load (); - gtkui_hotkeys_changed = 0; } |