Only react on own shortcut changed in desktopgrid
This commit is contained in:
parent
47cc0d77f5
commit
3afa7bf5a4
1 changed files with 3 additions and 0 deletions
|
@ -1211,6 +1211,9 @@ void DesktopGridEffect::finish()
|
|||
|
||||
void DesktopGridEffect::globalShortcutChanged(QAction *action, const QKeySequence& seq)
|
||||
{
|
||||
if (action->objectName() != QStringLiteral("ShowDesktopGrid")) {
|
||||
return;
|
||||
}
|
||||
shortcut.clear();
|
||||
shortcut.append(seq);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue