diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index 17ab2fd4..4ab2c4fc 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -1384,6 +1384,8 @@ void gameLobbyDialogImpl::closeEvent(QCloseEvent *event) waitStartGameMsgBoxTimer->stop(); waitStartGameMsgBox->hide(); waitRejoinStartGameMsgBox->hide(); + //enable leave button again - it was disabled during waitxyzMsgBoxes + pushButton_Leave->setEnabled(true); } diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index aeef9f6e..ed46ba89 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -1563,7 +1563,7 @@ void gameTableImpl::provideMyActions(int mode) PlayerList activePlayerList = currentHand->getActivePlayerList(); //really disabled buttons if human player is fold/all-in or ... and not called from dealberocards - if(/*pushButton_BetRaise->isCheckable() && */mode != 0 && (humanPlayer->getMyAction() == PLAYER_ACTION_ALLIN || humanPlayer->getMyAction() == PLAYER_ACTION_FOLD || (humanPlayer->getMySet() == currentHand->getCurrentBeRo()->getHighestSet() && (humanPlayer->getMyAction() != PLAYER_ACTION_NONE)))) { + if(/*pushButton_BetRaise->isCheckable() && */(mode != 0 && (humanPlayer->getMyAction() == PLAYER_ACTION_ALLIN || humanPlayer->getMyAction() == PLAYER_ACTION_FOLD || (humanPlayer->getMySet() == currentHand->getCurrentBeRo()->getHighestSet() && (humanPlayer->getMyAction() != PLAYER_ACTION_NONE)))) || !humanPlayer->isSessionActive() /*autofold*/) { pushButton_BetRaise->setText(""); pushButton_CallCheck->setText("");