From 1ed4eeec875750370cdda7fd699ef26ddd211ecc Mon Sep 17 00:00:00 2001 From: doitux Date: Sun, 30 Sep 2007 00:41:23 +0000 Subject: [PATCH] adds activePlayerList and runningPlayerList (XXVIII) - bugfix --- src/gui/qt/mainwindow/mainwindowimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 743bfa7a..73e60d9e 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -1247,7 +1247,7 @@ void mainWindowImpl::refreshButton() { if( currentHand->getActivePlayerList()->size() > 2 ) { switch ( (*it_c)->getMyButton() ) { - case 1 : buttonLabelArray[i]->setPixmap(dealerButton); + case 1 : buttonLabelArray[(*it_c)->getMyButton()]->setPixmap(dealerButton); break; case 2 : { if ( myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[(*it_c)->getMyID()]->setPixmap(smallblindButton);