JAL-3518 corrected action on pulled up closeViewer()
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jun 2020 10:03:39 +0000 (11:03 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jun 2020 10:03:39 +0000 (11:03 +0100)
src/jalview/gui/StructureViewerBase.java

index 33a122c..a0b199b 100644 (file)
@@ -1209,6 +1209,9 @@ public abstract class StructureViewerBase extends GStructureViewer
         }
         forceClose = confirm == JvOptionPane.YES_OPTION;
       }
+    }
+    if (binding != null)
+    {
       binding.closeViewer(forceClose);
     }
     setAlignmentPanel(null);