From: gmungoc Date: Thu, 8 Dec 2016 09:20:08 +0000 (+0000) Subject: JAL-2359 add Window menu entry only after all danger of error is passed X-Git-Tag: Release_2_10_3b1~389 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2da3a29ae39b692964b85456353985d388aa3858;p=jalview.git JAL-2359 add Window menu entry only after all danger of error is passed --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index cc897e3..ac957d8 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -890,9 +890,10 @@ public class Desktop extends jalview.jbgui.GDesktop implements } }); + desktop.add(frame); + windowMenu.add(menuItem); - desktop.add(frame); frame.toFront(); try {