窗口初始化时默认由第2号设为第1号规则(打三棋)

This commit is contained in:
CalciteM Team 2019-06-20 01:55:33 +08:00
parent e2d1ceedcf
commit 21808bce1a
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ void NineChessWindow::initialize()
statusBarlabel, SLOT(setText(QString)));
// 默认第2号规则
ruleNo = 2;
ruleNo = 1;
ruleActionList.at(ruleNo)->setChecked(true);
// 重置游戏规则
game->setRule(ruleNo);