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);