1. Fix EDKT451 It should append ".txt" to filename
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / ToolChainConfig.java
index 2e3d7e9d604e988f47ad5b769ceb60a27fc381c5..cef7e8553185e42cdc94898354473f80be1afdec 100644 (file)
@@ -380,6 +380,7 @@ public class ToolChainConfig extends IFrame implements ListSelectionListener, Ta
             int result = fc.showSaveDialog(new JPanel());\r
             if (result == JFileChooser.APPROVE_OPTION) {\r
                 currentFile = fc.getSelectedFile().getPath();\r
+                currentFile = Tools.addPathExt(currentFile, DataType.RETURN_TYPE_TEXT);\r
                 try {\r
                     vtcc.saveFile(currentFile);\r
                 } catch (IOException e) {\r