窗口初始化时默认由第2号设为第1号规则(打三棋)
This commit is contained in:
parent
e2d1ceedcf
commit
21808bce1a
|
@ -190,7 +190,7 @@ void NineChessWindow::initialize()
|
|||
statusBarlabel, SLOT(setText(QString)));
|
||||
|
||||
// 默认第2号规则
|
||||
ruleNo = 2;
|
||||
ruleNo = 1;
|
||||
ruleActionList.at(ruleNo)->setChecked(true);
|
||||
// 重置游戏规则
|
||||
game->setRule(ruleNo);
|
||||
|
|
Loading…
Reference in New Issue