From 5dc249708303dd777f4570bb66335150a8beab07 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 20 Feb 2020 17:25:27 +0000 Subject: [PATCH] JAL-3187 nice to have enabling/disabling of apply/cancel when feature settings have not yet been modified for a view --- src/jalview/gui/FeatureSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.2