From: gmungoc Date: Mon, 29 Jun 2020 10:03:39 +0000 (+0100) Subject: JAL-3518 corrected action on pulled up closeViewer() X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~38 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8974cb94cb4947609bef7d3ec86afd68e1f0a8e2;p=jalview.git JAL-3518 corrected action on pulled up closeViewer() --- diff --git a/src/jalview/gui/StructureViewerBase.java b/src/jalview/gui/StructureViewerBase.java index 33a122c..a0b199b 100644 --- a/src/jalview/gui/StructureViewerBase.java +++ b/src/jalview/gui/StructureViewerBase.java @@ -1209,6 +1209,9 @@ public abstract class StructureViewerBase extends GStructureViewer } forceClose = confirm == JvOptionPane.YES_OPTION; } + } + if (binding != null) + { binding.closeViewer(forceClose); } setAlignmentPanel(null);