From 30a41eb4d57fb7bd924a7b4b5aa946fc4e144d89 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 3 Sep 2012 10:35:36 +0100 Subject: [PATCH] JAL-1111 doh - helps if you pass modality flag onto constructor --- src/jalview/gui/JalviewDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.2