Merge pull request #646 from teyrana/640-fix-dialog-close
[fixes #640] Dialogs should now close with the [x] button
This commit is contained in:
		
						commit
						8288de651f
					
				@ -52,7 +52,6 @@ public class ComponentConfigDialog extends JDialog implements ComponentChangeLis
 | 
			
		||||
		GUIUtil.rememberWindowPosition(this);
 | 
			
		||||
 | 
			
		||||
		// overrides common defaults in 'GUIUTIL.setDisposableDialogOptions', above
 | 
			
		||||
		setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
 | 
			
		||||
		addWindowListener(new WindowAdapter() {
 | 
			
		||||
			/**
 | 
			
		||||
			 *  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