Use the hideDialog() static method to close the dialog, this prevents NPE as reported in a bug report.

This commit is contained in:
Kevin Ruland 2012-09-24 01:33:39 +00:00
parent 5b6e1ecf39
commit 9c1a6c3e1c

View File

@ -119,7 +119,7 @@ public class ComponentConfigDialog extends JDialog implements ComponentChangeLis
if (e.isTreeChange() || e.isUndoChange()) {
// Hide dialog in case of tree or undo change
dialog.closeDialog();
hideDialog();
} else {
/*