From a983b2e80865eda767b4223934afa4f50983f48d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 19 Feb 2020 18:43:05 +0000 Subject: [PATCH] JAL-3187 - tabbed pane is nulled when feature settings is closed but not featureSettingsUI - check both are non-null or reconstruct --- src/jalview/gui/SplitFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/SplitFrame.java b/src/jalview/gui/SplitFrame.java index dca77bf..f9b5aa1 100644 --- a/src/jalview/gui/SplitFrame.java +++ b/src/jalview/gui/SplitFrame.java @@ -861,7 +861,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI FeatureSettingsControllerGuiI featureSettings) { boolean showInternalFrame = false; - if (featureSettingsUI == null) + if (featureSettingsUI == null || featureSettingsPanels == null) { showInternalFrame = true; featureSettingsPanels = new JTabbedPane(); -- 1.7.10.2