]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Change default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Bi...
authorjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 11 Apr 2007 07:01:59 +0000 (07:01 +0000)
committerjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 11 Apr 2007 07:01:59 +0000 (07:01 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2558 6f19259b-4bc3-4df7-8a09-765794883524

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