]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java
Fix the problem of deleting ModuleSA custom tool chain option leads to FPD verificait...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / FpdFileContents.java
index 1e0a5cdc44eac6d5a49b032f7ce381ff1567c916..b15e5d28d8ddebdba0920722c9d3cc5670fa5459 100644 (file)
@@ -1105,6 +1105,10 @@ public class FpdFileContents {
                 cursor.toNextSibling();\r
             }\r
             cursor.removeXml();\r
+            if (getModuleSAOptionsCount(moduleKey) == 0) {\r
+                cursor.toParent();\r
+                cursor.removeXml();\r
+            }\r
         }\r
         cursor.dispose();\r
     }\r