JAL-3187 - tabbed pane is nulled when feature settings is closed but not featureSetti...
authorJim Procter <jprocter@issues.jalview.org>
Wed, 19 Feb 2020 18:43:05 +0000 (18:43 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 19 Feb 2020 18:43:05 +0000 (18:43 +0000)
src/jalview/gui/SplitFrame.java

index dca77bf..f9b5aa1 100644 (file)
@@ -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();