From e12c7d8ec8bbc9917962d0390475196762ff562b Mon Sep 17 00:00:00 2001 From: doitux Date: Tue, 19 Jan 2010 21:43:20 +0000 Subject: [PATCH] gui bugfix for betinput-slider --- src/gui/qt/gametable/gametableimpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index 86bc2fd7..4445edce 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -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; }