JAL-1111 doh - helps if you pass modality flag onto constructor
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 3 Sep 2012 09:35:36 +0000 (10:35 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 3 Sep 2012 09:35:36 +0000 (10:35 +0100)
src/jalview/gui/JalviewDialog.java

index 833af15..8a6058f 100644 (file)
@@ -66,7 +66,7 @@ public abstract class JalviewDialog extends JPanel
           boolean modal, boolean block, String title, int width, int height)
   {
     
-    frame = new JDialog(Desktop.instance, true);
+    frame = new JDialog(Desktop.instance, modal);
     frame.setTitle(title);
     if (Desktop.instance!=null)
     {