allin button bugfix
This commit is contained in:
@@ -1694,6 +1694,8 @@ void gameTableImpl::mySet(){
|
|||||||
|
|
||||||
void gameTableImpl::myAllIn(){
|
void gameTableImpl::myAllIn(){
|
||||||
|
|
||||||
|
if(pushButton_AllIn->text() == AllInString) {
|
||||||
|
|
||||||
HandInterface *currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
HandInterface *currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||||
|
|
||||||
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
||||||
@@ -1712,14 +1714,13 @@ void gameTableImpl::myAllIn(){
|
|||||||
currentHand->getBoard()->collectSets();
|
currentHand->getBoard()->collectSets();
|
||||||
refreshPot();
|
refreshPot();
|
||||||
|
|
||||||
// statusBar()->clearMessage();
|
|
||||||
|
|
||||||
//set that i was the last active player. need this for unhighlighting groupbox
|
//set that i was the last active player. need this for unhighlighting groupbox
|
||||||
currentHand->setLastPlayersTurn(0);
|
currentHand->setLastPlayersTurn(0);
|
||||||
|
|
||||||
//Spiel läuft weiter
|
//Spiel läuft weiter
|
||||||
myActionDone();
|
myActionDone();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void gameTableImpl::pushButtonBetRaiseClicked(bool checked) {
|
void gameTableImpl::pushButtonBetRaiseClicked(bool checked) {
|
||||||
|
|||||||
Reference in New Issue
Block a user