rule: Add 60 option to N-move rule
This commit is contained in:
parent
74f098043d
commit
02569ae563
|
@ -118,6 +118,11 @@
|
|||
<source>50步</source>
|
||||
<translation>50步</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/ui/qt/gamewindow.cpp" line="520"/>
|
||||
<source>60步</source>
|
||||
<translation>60步</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/ui/qt/gamewindow.cpp" line="521"/>
|
||||
<source>100步</source>
|
||||
|
|
|
@ -301,6 +301,14 @@ class _RuleSettingsPageState extends State<RuleSettingsPage> {
|
|||
onChanged: callback,
|
||||
),
|
||||
ListItemDivider(),
|
||||
RadioListTile(
|
||||
activeColor: AppTheme.switchListTileActiveColor,
|
||||
title: Text('60'),
|
||||
groupValue: Config.nMoveRule,
|
||||
value: 60,
|
||||
onChanged: callback,
|
||||
),
|
||||
ListItemDivider(),
|
||||
RadioListTile(
|
||||
activeColor: AppTheme.switchListTileActiveColor,
|
||||
title: Text('100'),
|
||||
|
|
|
@ -558,6 +558,7 @@ void MillGameWindow::on_actionLimited_T_triggered()
|
|||
comboBox_step->addItem(tr("10 Moves"), 10);
|
||||
comboBox_step->addItem(tr("30 Moves"), 30);
|
||||
comboBox_step->addItem(tr("50 Moves"), 50);
|
||||
comboBox_step->addItem(tr("60 Moves"), 60);
|
||||
comboBox_step->addItem(tr("100 Moves"), 100);
|
||||
comboBox_step->addItem(tr("200 Moves"), 200);
|
||||
comboBox_step->setCurrentIndex(comboBox_step->findData(gStep));
|
||||
|
|
Loading…
Reference in New Issue