]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java
Change default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Bi...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / FpdModuleSA.java
index b97e0d77e64ac4445d1d86a04fb924b5bd44e84c..e6df69ef108cd4713a9edaeb7d45020155bc5b34 100644 (file)
@@ -157,13 +157,14 @@ public class FpdModuleSA extends JDialog implements ActionListener {
         classInstanceMap = null;\r
         classProduced = null;\r
         classConsumed = null;\r
-        jTabbedPane.setSelectedIndex(0);\r
+        int tabIndex = jTabbedPane.indexOfTab("FV Info");\r
+        jTabbedPane.setSelectedIndex(tabIndex);\r
         initPcdBuildDefinition(moduleKey);\r
         moduleId = WorkspaceProfile.getModuleId(moduleKey);\r
         if (moduleId == null) {\r
             return;\r
         }\r
-        int tabIndex = jTabbedPane.indexOfTab("Libraries");\r
+        tabIndex = jTabbedPane.indexOfTab("Libraries");\r
         if (moduleId.isLibrary()) {\r
             jTabbedPane.setEnabledAt(tabIndex, false);\r
         }\r