From: Niki Roo Date: Mon, 4 May 2020 17:24:24 +0000 (+0200) Subject: WaitingDialog: fix dispose X-Git-Tag: fanfix-swing-1.2.0~16 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=a41da29828892fcd9f62edcf561e236b346e85e9;p=fanfix-swing.git WaitingDialog: fix dispose --- diff --git a/src/be/nikiroo/utils/ui/WaitingDialog.java b/src/be/nikiroo/utils/ui/WaitingDialog.java index 7df5a8b5..0fd4574d 100644 --- a/src/be/nikiroo/utils/ui/WaitingDialog.java +++ b/src/be/nikiroo/utils/ui/WaitingDialog.java @@ -163,7 +163,6 @@ public class WaitingDialog extends JDialog { synchronized (waitLock) { if (waitScreen) { setVisible(false); - dispose(); } waitScreen = true; } @@ -171,5 +170,7 @@ public class WaitingDialog extends JDialog { if (pg != null) { pg.removeProgressListener(pgl); } + + dispose(); } }