From 01a66459f861623ab2378e12fb556aa286501821 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 19 Nov 2021 15:43:44 +0000 Subject: [PATCH] JAL-3926 disable autosearch by default --- src/jalview/fts/core/GFTSPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/fts/core/GFTSPanel.java b/src/jalview/fts/core/GFTSPanel.java index 0dccc0c..ebf9ec5 100644 --- a/src/jalview/fts/core/GFTSPanel.java +++ b/src/jalview/fts/core/GFTSPanel.java @@ -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 -- 1.7.10.2