Fix saving skill level for new table dialog of 'T1', 'T2'

This commit is contained in:
spjspj 2019-03-02 22:24:44 +11:00
parent f1b2837697
commit caf26c2b7b

View file

@ -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);