bugfix: wrong blinds in heads up
This commit is contained in:
1 parent
ace4d5b41a
commit
a9e2d56b0d
3 files changed
+50
-30
No files matched your search
@@ -864,11 +864,17 @@ void mainWindowImpl::refreshButton() {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (currentHand->getPlayerArray()[i]->getMyButton()==3) {
|
||||
buttonLabelArray[i]->setPixmap(dealerButton);
|
||||
}
|
||||
else {
|
||||
buttonLabelArray[i]->setPixmap(onePix);
|
||||
switch (currentHand->getPlayerArray()[i]->getMyButton()) {
|
||||
|
||||
case 2 : buttonLabelArray[i]->setPixmap(dealerButton);
|
||||
break;
|
||||
case 3 : {
|
||||
if (myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[i]->setPixmap(bigblindButton);
|
||||
else { buttonLabelArray[i]->setPixmap(onePix); }
|
||||
}
|
||||
break;
|
||||
default: buttonLabelArray[i]->setPixmap(onePix);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user