ensure blog window gets put to front after dialogs close (JAL-943)
[jalview.git] / src / jalview / gui / Desktop.java
index bb84612..e1356b4 100644 (file)
@@ -1986,6 +1986,17 @@ public class Desktop extends jalview.jbgui.GDesktop implements
 
   }
 
+  /**
+   * fixes stacking order after a modal dialog to ensure windows that should be on top actually are
+   */
+  public void relayerWindows()
+  {
+    if (jvnews!=null && jvnews.isVisible())
+    {
+      jvnews.toFront();
+    }
+  }
+
   protected JMenuItem groovyShell;
 
   public void doGroovyCheck()