JAL-2163 set title for the alignframe from restored view state patch/JAL-2156_JAL-2163_saveSplitFrameFromSaveAs_restoreTitles
authorJim Procter <jprocter@issues.jalview.org>
Wed, 27 Jul 2016 09:29:09 +0000 (10:29 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 27 Jul 2016 13:36:50 +0000 (14:36 +0100)
src/jalview/gui/Jalview2XML.java

index b027246..0f15505 100644 (file)
@@ -4539,7 +4539,7 @@ public class Jalview2XML
       }
     }
     af.setMenusFromViewport(af.viewport);
-
+    af.setTitle(view.getTitle());
     // TODO: we don't need to do this if the viewport is aready visible.
     /*
      * Add the AlignFrame to the desktop (it may be 'gathered' later), unless it