JAL-3203 Overview show hidden default false also in Preferences
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 15 Mar 2019 14:17:44 +0000 (14:17 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 15 Mar 2019 14:17:44 +0000 (14:17 +0000)
src/jalview/gui/Preferences.java

index ad3bfb5..ab09f74 100755 (executable)
@@ -326,7 +326,7 @@ public class Preferences extends GPreferences
     gapLabel.setEnabled(!useLegacyGap.isSelected());
     gapColour.setEnabled(!useLegacyGap.isSelected());
     showHiddenAtStart
-            .setSelected(Cache.getDefault(SHOW_OV_HIDDEN_AT_START, true));
+            .setSelected(Cache.getDefault(SHOW_OV_HIDDEN_AT_START, false));
 
     /*
      * Set Structure tab defaults.
@@ -1144,7 +1144,7 @@ public class Preferences extends GPreferences
   {
     useLegacyGap.setSelected(false);
     useLegacyGaps_actionPerformed(null);
-    showHiddenAtStart.setSelected(true);
+    showHiddenAtStart.setSelected(false);
     hiddenColour.setBackground(
             jalview.renderer.OverviewResColourFinder.OVERVIEW_DEFAULT_HIDDEN);
   }