TrainingWidget: fix an old bug (the "New rack" button was behaving like "Complement")

This commit is contained in:
Olivier Teulière 2013-01-09 17:15:18 +01:00
parent b48f8c17d7
commit 05150c4e86

View file

@ -339,7 +339,7 @@ void TrainingWidget::helperSetRack(bool iAll)
{
// FIXME: first parameter is hardcoded
m_game->trainingSetRackRandom(true,
iAll ? PublicGame::kRACK_NEW : PublicGame::kRACK_NEW);
iAll ? PublicGame::kRACK_ALL : PublicGame::kRACK_NEW);
emit gameUpdated();
lineEditRack->setFocus();
}