shortcut for viewing sideboard
This commit is contained in:
parent
c39539b73a
commit
970559290b
1 changed files with 2 additions and 0 deletions
|
@ -447,6 +447,7 @@ void Player::setShortcutsActive()
|
||||||
{
|
{
|
||||||
shortcutsActive = true;
|
shortcutsActive = true;
|
||||||
|
|
||||||
|
aViewSideboard->setShortcut(tr("Ctrl+F3"));
|
||||||
aViewLibrary->setShortcut(tr("F3"));
|
aViewLibrary->setShortcut(tr("F3"));
|
||||||
aViewTopCards->setShortcut(tr("Ctrl+W"));
|
aViewTopCards->setShortcut(tr("Ctrl+W"));
|
||||||
aViewGraveyard->setShortcut(tr("F4"));
|
aViewGraveyard->setShortcut(tr("F4"));
|
||||||
|
@ -468,6 +469,7 @@ void Player::setShortcutsInactive()
|
||||||
{
|
{
|
||||||
shortcutsActive = false;
|
shortcutsActive = false;
|
||||||
|
|
||||||
|
aViewSideboard->setShortcut(QKeySequence());
|
||||||
aViewLibrary->setShortcut(QKeySequence());
|
aViewLibrary->setShortcut(QKeySequence());
|
||||||
aViewTopCards->setShortcut(QKeySequence());
|
aViewTopCards->setShortcut(QKeySequence());
|
||||||
aViewGraveyard->setShortcut(QKeySequence());
|
aViewGraveyard->setShortcut(QKeySequence());
|
||||||
|
|
Loading…
Reference in a new issue