From: Jim Procter Date: Thu, 20 Feb 2020 17:25:27 +0000 (+0000) Subject: JAL-3187 nice to have enabling/disabling of apply/cancel when feature settings have... X-Git-Tag: Develop-2_11_2_0-d20201215~101^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffeatures%2FJAL-3187_uitweaks;p=jalview.git JAL-3187 nice to have enabling/disabling of apply/cancel when feature settings have not yet been modified for a view --- diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 0ab288c..dc7283b 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -1303,7 +1303,7 @@ public class FeatureSettings extends JPanel ? "action.undo_changes_to_feature_settings" : "action.undo_changes_to_feature_settings_and_close_the_dialog")); cancel.setFont(JvSwingUtils.getLabelFont()); - // TODO: disable cancel until current settings are different + // TODO: disable cancel (and apply!) until current settings are different cancel.addActionListener(new ActionListener() { @Override