JAL-3878 Change align frame added to desktop to correct one
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Fri, 25 Mar 2022 17:57:33 +0000 (18:57 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Fri, 25 Mar 2022 17:57:33 +0000 (18:57 +0100)
src/jalview/ws2/gui/AlignmentServiceGuiHandler.java

index 61673f9..b484ccc 100644 (file)
@@ -190,7 +190,7 @@ class AlignmentServiceGuiHandler
       }
     }
     // no split frame or failed to create complementary alignment
-    Desktop.addInternalFrame(frame, alnTitle, AlignFrame.DEFAULT_WIDTH,
+    Desktop.addInternalFrame(newFrame, alnTitle, AlignFrame.DEFAULT_WIDTH,
         AlignFrame.DEFAULT_HEIGHT);
   }