gui bugfix for betinput-slider
This commit is contained in:
@@ -1448,6 +1448,7 @@ void gameTableImpl::provideMyActions(int mode) {
|
|||||||
horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
||||||
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||||
horizontalSlider_bet->setSingleStep(10);
|
horizontalSlider_bet->setSingleStep(10);
|
||||||
|
changeLineEditBetValue(horizontalSlider_bet->value());
|
||||||
|
|
||||||
myActionIsRaise = 1;
|
myActionIsRaise = 1;
|
||||||
}
|
}
|
||||||
@@ -1456,6 +1457,7 @@ void gameTableImpl::provideMyActions(int mode) {
|
|||||||
horizontalSlider_bet->setMinimum(currentHand->getSmallBlind()*2);
|
horizontalSlider_bet->setMinimum(currentHand->getSmallBlind()*2);
|
||||||
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||||
horizontalSlider_bet->setSingleStep(10);
|
horizontalSlider_bet->setSingleStep(10);
|
||||||
|
changeLineEditBetValue(horizontalSlider_bet->value());
|
||||||
|
|
||||||
myActionIsBet = 1;
|
myActionIsBet = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user