dispose the error message dialog

This commit is contained in:
hneemann 2017-07-16 21:24:13 +02:00
parent abc404d523
commit ee329195e9

View File

@ -98,6 +98,7 @@ public class ErrorMessage implements Runnable {
JDialog dialog = optionPane.createDialog(parent, Lang.get("error"));
dialog.setAlwaysOnTop(true);
dialog.setVisible(true);
dialog.dispose();
return this;
}