From 05150c4e86590dc7a9a1260b6633759368c6645e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Wed, 9 Jan 2013 17:15:18 +0100 Subject: [PATCH] TrainingWidget: fix an old bug (the "New rack" button was behaving like "Complement") --- qt/training_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/training_widget.cpp b/qt/training_widget.cpp index 57d3edf..41e6982 100644 --- a/qt/training_widget.cpp +++ b/qt/training_widget.cpp @@ -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(); }