mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fix default value for "Store images in zip files".
It's set to true as the default checkbox state but to false as the default cached value. Because of that if preferences are never saved images are stored to directories though the checkbox will be set in preferences.
This commit is contained in:
parent
ba6b6093c3
commit
fec2ed464f
1 changed files with 1 additions and 1 deletions
|
@ -3052,7 +3052,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isSaveImagesToZip() {
|
public static boolean isSaveImagesToZip() {
|
||||||
return PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CARD_IMAGES_SAVE_TO_ZIP, "false").equals("true");
|
return PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CARD_IMAGES_SAVE_TO_ZIP, "true").equals("true");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void load(Preferences prefs, JCheckBox checkBox, String propName, String yesValue) {
|
private static void load(Preferences prefs, JCheckBox checkBox, String propName, String yesValue) {
|
||||||
|
|
Loading…
Reference in a new issue