mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Restore some button states (ready/sideboard locked) to sensible defaults when unloading a deck.
This commit is contained in:
parent
7db9c9115e
commit
132159c7f6
1 changed files with 5 additions and 0 deletions
|
|
@ -335,6 +335,11 @@ void DeckViewContainer::unloadDeck()
|
|||
visualDeckStorageWidget->setVisible(true);
|
||||
deckViewLayout->update();
|
||||
unloadDeckButton->setEnabled(false);
|
||||
readyStartButton->setEnabled(false);
|
||||
readyStartButton->setState(false);
|
||||
sideboardLockButton->setEnabled(false);
|
||||
sideboardLockButton->setState(false);
|
||||
setReadyStart(false);
|
||||
}
|
||||
|
||||
void DeckViewContainer::loadLocalDeck()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue