JAL-3926 disable autosearch by default
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 19 Nov 2021 15:43:44 +0000 (15:43 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 19 Nov 2021 15:43:44 +0000 (15:43 +0000)
src/jalview/fts/core/GFTSPanel.java

index 0dccc0c..ebf9ec5 100644 (file)
@@ -377,8 +377,9 @@ public abstract class GFTSPanel extends JPanel implements GFTSPanelI
     btn_autosearch.setText(MessageManager.getString("option.autosearch"));
     btn_autosearch.setToolTipText(
             MessageManager.getString("option.enable_disable_autosearch"));
+    // disable autosearch by default
     btn_autosearch.setSelected(!Platform.isJS()
-            && Cache.getDefault(getAutosearchPreference(), true));
+            && Cache.getDefault(getAutosearchPreference(), false));
     btn_autosearch.addActionListener(new java.awt.event.ActionListener()
     {
       @Override