Unverified Commit 61f1141f authored by ebbit1q's avatar ebbit1q Committed by GitHub
Browse files

fix #3840 (#4348)

parent 0a73162b
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment