From 8d7b885d83be1a2a32dfc01b35d127978df2fb6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Sat, 23 Feb 2019 21:33:16 +0100 Subject: [PATCH] Fix wrong developer mode condition --- .../main/java/net/sourceforge/pmd/util/fxdesigner/Designer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/Designer.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/Designer.java index 4846392ca2..01f14af202 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/Designer.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/Designer.java @@ -112,7 +112,7 @@ public class Designer extends Application { stage.setScene(scene); - if (owner.isDeveloperMode()) { + if (!owner.isDeveloperMode()) { // only close after initialization succeeded. // but before stage.show to reduce unwanted noise System.err.close();