Disable "Load remote deck..." button in local game

This commit is contained in:
Kevin Boxhoorn 2016-10-03 12:35:44 +11:00
parent 2a7fc827f4
commit 3680f40981

View file

@ -100,6 +100,8 @@ DeckViewContainer::DeckViewContainer(int _playerId, TabGame *parent)
{
loadLocalButton = new QPushButton;
loadRemoteButton = new QPushButton;
if (parentGame->getIsLocalGame())
loadRemoteButton->setEnabled(false);
readyStartButton = new ToggleButton;
readyStartButton->setEnabled(false);
sideboardLockButton = new ToggleButton;