From 2da3a29ae39b692964b85456353985d388aa3858 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 8 Dec 2016 09:20:08 +0000 Subject: [PATCH] JAL-2359 add Window menu entry only after all danger of error is passed --- src/jalview/gui/Desktop.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 1.7.10.2