From: Jim Procter Date: Fri, 19 Nov 2021 15:43:44 +0000 (+0000) Subject: JAL-3926 disable autosearch by default X-Git-Tag: Release_2_11_2_0~21^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=01a66459f861623ab2378e12fb556aa286501821;p=jalview.git JAL-3926 disable autosearch by default --- 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