mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fix saving skill level for new table dialog of 'T1', 'T2'
This commit is contained in:
parent
f1b2837697
commit
caf26c2b7b
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ public class NewTableDialog extends MageDialog {
|
|||
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()) {
|
||||
if (skillLevel.toString().equals(skillLevelDefault)) {
|
||||
this.cbSkillLevel.setSelectedItem(skillLevel);
|
||||
|
|
Loading…
Reference in a new issue