changeset 18631:c7df983b003a gui-release

fix another bug with checking a new shortcut for duplicates * shortcut-manager.cc (shortcut_dialog_finished): delete correct entry from hash
author Torsten <ttl@justmail.de>
date Sun, 06 Apr 2014 12:12:56 +0200
parents a811d45b7ca7
children 5b6901b06106
files libgui/src/shortcut-manager.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/shortcut-manager.cc	Sun Apr 06 10:38:52 2014 +0200
+++ b/libgui/src/shortcut-manager.cc	Sun Apr 06 12:12:56 2014 +0200
@@ -367,7 +367,7 @@
 
   shortcut_t shortcut = _sc.at (_handled_index);
   if (! shortcut.actual_sc.isEmpty ())
-    _shortcut_hash.remove (shortcut.actual_sc);
+    _shortcut_hash.remove (widget + ":" + shortcut.actual_sc.toString ());
   shortcut.actual_sc = _edit_actual->text();
   _sc.replace (_handled_index, shortcut);