From bb0c7851b2dcde814f65ee8763fae887d10da527 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 24 Apr 2021 12:57:05 +0800 Subject: [PATCH] qt: Fix moveTime cannot save to settings --- src/ui/qt/gamewindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/qt/gamewindow.cpp b/src/ui/qt/gamewindow.cpp index 1627d790..74565651 100644 --- a/src/ui/qt/gamewindow.cpp +++ b/src/ui/qt/gamewindow.cpp @@ -528,7 +528,7 @@ void MillGameWindow::on_actionLimited_T_triggered() int dTime = comboBox_time->currentData().toInt(); if (gStep != dStep || gTime != dTime) { game->setRule(ruleNo, static_cast(dStep), dTime); - gameOptions.setMoveTime(dTime); + game->setMoveTime(dTime); } }