1. Fix EDKT449 Close Build Preferences will crash wizard
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / toolchain / Preferences.java
index dcc4b42a36bbcf0e2456840a47253b8d1412ee6c..17e5afe7ddf28ad75f9dd46d06d4ecb249fa070a 100644 (file)
@@ -555,7 +555,7 @@ public class Preferences extends IFrame {
         this.setSize(dialogWidth, dialogHeight);\r
         this.setContentPane(getJContentPane());\r
         this.setTitle("Build Preferences [" + toolsDefIdentifier + "]");\r
-        this.setDefaultCloseOperation(IFrame.EXIT_ON_CLOSE);\r
+        this.setDefaultCloseOperation(IFrame.DISPOSE_ON_CLOSE);\r
         this.centerWindow();\r
         this.setVisible(true);\r
     }\r