gui bugfix for betinput-slider

This commit is contained in:
doitux
2010-01-19 21:43:20 +00:00
parent 8017d1c8cb
commit e12c7d8ec8
+2
View File
@@ -1448,6 +1448,7 @@ void gameTableImpl::provideMyActions(int mode) {
horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
horizontalSlider_bet->setSingleStep(10);
changeLineEditBetValue(horizontalSlider_bet->value());
myActionIsRaise = 1;
}
@@ -1456,6 +1457,7 @@ void gameTableImpl::provideMyActions(int mode) {
horizontalSlider_bet->setMinimum(currentHand->getSmallBlind()*2);
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
horizontalSlider_bet->setSingleStep(10);
changeLineEditBetValue(horizontalSlider_bet->value());
myActionIsBet = 1;
}