[fixes #640] Dialogs should now closing with the [x] button in the corner. (and 'close' button. And ESC)
This commit is contained in:
parent
1c7171eff2
commit
d038b1b190
@ -52,7 +52,6 @@ public class ComponentConfigDialog extends JDialog implements ComponentChangeLis
|
|||||||
GUIUtil.rememberWindowPosition(this);
|
GUIUtil.rememberWindowPosition(this);
|
||||||
|
|
||||||
// overrides common defaults in 'GUIUTIL.setDisposableDialogOptions', above
|
// overrides common defaults in 'GUIUTIL.setDisposableDialogOptions', above
|
||||||
setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
|
|
||||||
addWindowListener(new WindowAdapter() {
|
addWindowListener(new WindowAdapter() {
|
||||||
/**
|
/**
|
||||||
* Triggered by the 'Close' Button on the ConfigDialogs. AND Esc. AND the [x] button (on Windows)
|
* Triggered by the 'Close' Button on the ConfigDialogs. AND Esc. AND the [x] button (on Windows)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user