mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Merge pull request #5610 from spjspj/master
Fix saving skill level for new table dialog of 'T1', 'T2'
This commit is contained in:
commit
68fed7f600
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ public class NewTableDialog extends MageDialog {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String skillLevelDefault = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_SKILL_LEVEL, "Casual");
|
String skillLevelDefault = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_SKILL_LEVEL + versionStr, "Casual");
|
||||||
for (SkillLevel skillLevel : SkillLevel.values()) {
|
for (SkillLevel skillLevel : SkillLevel.values()) {
|
||||||
if (skillLevel.toString().equals(skillLevelDefault)) {
|
if (skillLevel.toString().equals(skillLevelDefault)) {
|
||||||
this.cbSkillLevel.setSelectedItem(skillLevel);
|
this.cbSkillLevel.setSelectedItem(skillLevel);
|
||||||
|
|
Loading…
Reference in a new issue