From 8974cb94cb4947609bef7d3ec86afd68e1f0a8e2 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 29 Jun 2020 11:03:39 +0100 Subject: [PATCH] JAL-3518 corrected action on pulled up closeViewer() --- src/jalview/gui/StructureViewerBase.java | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.7.10.2