qt: Fix moveTime cannot save to settings

This commit is contained in:
Calcitem 2021-04-24 12:57:05 +08:00
parent b85fb2f4b6
commit bb0c7851b2
1 changed files with 1 additions and 1 deletions

View File

@ -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<int>(dStep), dTime);
gameOptions.setMoveTime(dTime);
game->setMoveTime(dTime);
}
}