mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
Disable SB button when ready
Updated to trigger on receive rather than send
This commit is contained in:
parent
18da49d454
commit
f2c3045a71
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ void DeckViewContainer::setReadyStart(bool ready)
|
||||||
{
|
{
|
||||||
readyStartButton->setState(ready);
|
readyStartButton->setState(ready);
|
||||||
deckView->setLocked(ready || !sideboardLockButton->getState());
|
deckView->setLocked(ready || !sideboardLockButton->getState());
|
||||||
|
sideboardLockButton->setEnabled(!readyStartButton->getState());
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeckViewContainer::setSideboardLocked(bool locked)
|
void DeckViewContainer::setSideboardLocked(bool locked)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue