JAL-4259 set title using original alignment window's title spike/JAL-4159_pasimap_2114_series
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 21 May 2024 17:29:24 +0000 (18:29 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 21 May 2024 17:29:24 +0000 (18:29 +0100)
src/jalview/gui/PaSiMapPanel.java

index bf87dd1..74c7232 100644 (file)
@@ -242,7 +242,7 @@ public class PaSiMapPanel extends GPaSiMapPanel
     {
       Desktop.addInternalFrame(
               this, MessageManager.formatMessage("label.calc_title",
-                      "PaSiMap", getPasimapModel().getScoreModelName()),
+                      "PaSiMap", ap.alignFrame.getTitle()),
               475, 450);
       this.setMinimumSize(new Dimension(MIN_WIDTH, MIN_HEIGHT));
     }