From 591a5a4f3a552b103be552f1e942fb0c3a65cfa6 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 5 Apr 2018 14:24:08 +0100 Subject: [PATCH] =?utf8?q?JAL-2944=20get=20viewer=E2=80=99s=20title=20via=20?= =?utf8?q?toString()?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/StructureViewerBase.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jalview/gui/StructureViewerBase.java b/src/jalview/gui/StructureViewerBase.java index 3e06724..3b80ff0 100644 --- a/src/jalview/gui/StructureViewerBase.java +++ b/src/jalview/gui/StructureViewerBase.java @@ -1019,6 +1019,12 @@ public abstract class StructureViewerBase extends GStructureViewer } @Override + public String toString() + { + return getTitle(); + } + + @Override public boolean hasMapping() { if (worker != null && (addingStructures || _started)) -- 1.7.10.2