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:
rkfg 2016-03-11 20:39:59 +03:00
parent ba6b6093c3
commit fec2ed464f

View file

@ -3052,7 +3052,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
}
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) {