Use the hideDialog() static method to close the dialog, this prevents NPE as reported in a bug report.
This commit is contained in:
parent
5b6e1ecf39
commit
9c1a6c3e1c
@ -119,7 +119,7 @@ public class ComponentConfigDialog extends JDialog implements ComponentChangeLis
|
|||||||
if (e.isTreeChange() || e.isUndoChange()) {
|
if (e.isTreeChange() || e.isUndoChange()) {
|
||||||
|
|
||||||
// Hide dialog in case of tree or undo change
|
// Hide dialog in case of tree or undo change
|
||||||
dialog.closeDialog();
|
hideDialog();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user