changeset 25128:8cffe74b7541 stable

fix missing entries in shortcut preferences for other languages * shortcut-manager.cc (do_fill_treewidget): check the keyname instead the possibly translated key description
author Torsten <mttl@mailbox.org>
date Thu, 05 Apr 2018 21:25:11 +0200
parents 6e935942e57a
children 2bc071fc7f6b
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	Thu Apr 05 08:19:18 2018 -0700
+++ b/libgui/src/shortcut-manager.cc	Thu Apr 05 21:25:11 2018 +0200
@@ -584,7 +584,7 @@
         if (section == editor_file)
           {
             // Closing tabs now in global tab handling section
-            if (sc.m_description.mid (0,6) == "Close ")
+            if (sc.m_settings_key.contains ("editor_file:close"))
               section = main_tabs;
           }