This commit is contained in:
ebbit1q 2021-05-13 18:51:34 +02:00 committed by GitHub
parent 0a73162bcf
commit 61f1141fe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,9 @@ void DeckViewContainer::updateSideboardLockButtonText()
} else {
sideboardLockButton->setText(tr("Sideboard locked"));
}
// setting text on a button removes its shortcut
ShortcutsSettings &shortcuts = SettingsCache::instance().shortcuts();
sideboardLockButton->setShortcut(shortcuts.getSingleShortcut("DeckViewContainer/sideboardLockButton"));
}
void DeckViewContainer::refreshShortcuts()