show button and logging bugfix
This commit is contained in:
@@ -2066,9 +2066,9 @@ void gameTableImpl::postRiverRunAnimation2() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
//display show! button if human player is the latest non foldedone
|
//display show! button if human player is active and the latest non foldedone
|
||||||
PlayerListIterator it = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin();
|
PlayerListIterator it = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin();
|
||||||
if( internetOrNetworkGame && (*it)->getMyAction() != PLAYER_ACTION_FOLD) {
|
if( internetOrNetworkGame && (*it)->getMyActiveStatus() && (*it)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||||
|
|
||||||
showShowMyCardsButton();
|
showShowMyCardsButton();
|
||||||
}
|
}
|
||||||
@@ -2322,7 +2322,7 @@ void gameTableImpl::showHoleCards(unsigned playerId, bool allIn)
|
|||||||
}
|
}
|
||||||
//set Player value (logging)
|
//set Player value (logging)
|
||||||
qDebug() << "currentHand->getCurrentRound()" << currentHand->getCurrentRound();
|
qDebug() << "currentHand->getCurrentRound()" << currentHand->getCurrentRound();
|
||||||
if(currentHand->getCurrentRound() < 4 || allIn) {
|
if(currentHand->getCurrentRound() < 3 || allIn) {
|
||||||
(*it_c)->setMyCardsFlip(1,2); //for bero before postriver or allin just log the hole cards
|
(*it_c)->setMyCardsFlip(1,2); //for bero before postriver or allin just log the hole cards
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -1260,7 +1260,7 @@ void settingsDialogImpl::deleteLogFile()
|
|||||||
|
|
||||||
if(selectedItem) {
|
if(selectedItem) {
|
||||||
int ret = QMessageBox::warning(this, tr("PokerTH - Log file"),
|
int ret = QMessageBox::warning(this, tr("PokerTH - Log file"),
|
||||||
tr("Do you really want to delete the seleted log file?"),
|
tr("Do you really want to delete the selected log file?"),
|
||||||
QMessageBox::Yes | QMessageBox::No);
|
QMessageBox::Yes | QMessageBox::No);
|
||||||
|
|
||||||
if(ret == QMessageBox::Yes) {
|
if(ret == QMessageBox::Yes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user