From b8ef2dcab2dab7a4cccc6721b9e8e0eb493462f0 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 24 Mar 2014 13:16:49 +0100 Subject: [PATCH] hmmm --- src/gui/dynamicshortcutswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/dynamicshortcutswidget.cpp b/src/gui/dynamicshortcutswidget.cpp index 5698ce772..c54cd1265 100755 --- a/src/gui/dynamicshortcutswidget.cpp +++ b/src/gui/dynamicshortcutswidget.cpp @@ -47,7 +47,7 @@ bool DynamicShortcutsWidget::areShortcutsUnique() { foreach (const ActionBinding &binding, m_actionBindings) { QKeySequence new_shortcut = binding.second->shortcut(); - if (all_shortcuts.contains(new_shortcut) && !new_shortcut.isEmpty()) { + if (!new_shortcut.isEmpty() && all_shortcuts.contains(new_shortcut)) { // Problem, two identical non-empty shortcuts found. return false; }