From: jprocter Date: Mon, 3 Sep 2012 09:35:36 +0000 (+0100) Subject: JAL-1111 doh - helps if you pass modality flag onto constructor X-Git-Tag: Jalview_2_9~351 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=30a41eb4d57fb7bd924a7b4b5aa946fc4e144d89;p=jalview.git JAL-1111 doh - helps if you pass modality flag onto constructor --- diff --git a/src/jalview/gui/JalviewDialog.java b/src/jalview/gui/JalviewDialog.java index 833af15..8a6058f 100644 --- a/src/jalview/gui/JalviewDialog.java +++ b/src/jalview/gui/JalviewDialog.java @@ -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) {