if the shortcut hasn't changed, don't try and update it
This commit is contained in:
parent
abd1d9ddba
commit
3f7859b557
@ -1567,6 +1567,8 @@ void Applet::setGlobalShortcut(const KShortcut &shortcut)
|
|||||||
foreach (QWidget *w, widgets) {
|
foreach (QWidget *w, widgets) {
|
||||||
w->addAction(d->activationAction);
|
w->addAction(d->activationAction);
|
||||||
}
|
}
|
||||||
|
} else if (d->activationAction->globalShortcut() == shortcut) {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//kDebug() << "before" << shortcut.primary() << d->activationAction->globalShortcut().primary();
|
//kDebug() << "before" << shortcut.primary() << d->activationAction->globalShortcut().primary();
|
||||||
|
Loading…
Reference in New Issue
Block a user