hmmm
This commit is contained in:
parent
832ff87c52
commit
b8ef2dcab2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue