Add preference to enable/disable loading of Unknown Cards.

If a user don't wants to load a certain cards from deleted set/s in edition folder,
you can do so by disabling this option.
This commit is contained in:
Anthony Calosa
2020-03-31 10:54:27 +08:00
parent bd8b136b2b
commit 7c9849f845
8 changed files with 24 additions and 9 deletions

View File

@@ -331,6 +331,10 @@ public class SettingsPage extends TabPage<SettingsScreen> {
Forge.showFPS = FModel.getPreferences().getPrefBoolean(FPref.UI_SHOW_FPS);
}
},4);
lstSettings.addItem(new BooleanSetting(FPref.UI_LOAD_UNKNOWN_CARDS,
"Enable Unknown Cards",
"Enable Unknown Cards to be loaded to Unknown Set. (Requires restart)"),
4);
lstSettings.addItem(new CustomSelectSetting(FPref.UI_CARD_COUNTER_DISPLAY_TYPE,
localizer.getMessage("cbpCounterDisplayType"),
localizer.getMessage("nlCounterDisplayType"),