hmmm
This commit is contained in:
parent
832ff87c52
commit
b8ef2dcab2
@ -47,7 +47,7 @@ bool DynamicShortcutsWidget::areShortcutsUnique() {
|
|||||||
foreach (const ActionBinding &binding, m_actionBindings) {
|
foreach (const ActionBinding &binding, m_actionBindings) {
|
||||||
QKeySequence new_shortcut = binding.second->shortcut();
|
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.
|
// Problem, two identical non-empty shortcuts found.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user