JAL-2800 added tree calc frame to ap's closeChildFrames()
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 29 Jan 2018 18:24:39 +0000 (18:24 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 29 Jan 2018 18:24:39 +0000 (18:24 +0000)
src/jalview/gui/AlignmentPanel.java

index 547825f..e18ecfc 100644 (file)
@@ -1652,6 +1652,10 @@ public class AlignmentPanel extends GAlignmentPanel implements
       calculationDialog.closeFrame();
       calculationDialog = null;
     }
+    if (treeCalcDialog != null) {
+      treeCalcDialog.dispose();
+      treeCalcDialog = null;
+    }
   }
 
   /**