summaryrefslogtreecommitdiff
path: root/Tools/Source/FrameworkWizard
diff options
context:
space:
mode:
authorhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-17 23:21:27 +0000
committerhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-17 23:21:27 +0000
commitb1cfb8a5034e95a29e5475dcaeb3e692a2edbb00 (patch)
tree20c790556f7a8eb9497f31ff607f296a10374890 /Tools/Source/FrameworkWizard
parent21b42c665f3881aa0c2ea0279439ca55143d10bc (diff)
downloadedk2-b1cfb8a5034e95a29e5475dcaeb3e692a2edbb00.zip
edk2-b1cfb8a5034e95a29e5475dcaeb3e692a2edbb00.tar.gz
edk2-b1cfb8a5034e95a29e5475dcaeb3e692a2edbb00.tar.bz2
1. Fix the bug "not to re-init GlobalData when switch to different workspace".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1317 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source/FrameworkWizard')
-rw-r--r--Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java
index e8857b5..0207e41 100644
--- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java
+++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java
@@ -2830,7 +2830,7 @@ public class FrameworkWizardUI extends IFrame implements MouseListener, TreeSele
break;
//
// Current is package
- //
+ //
case 1:
if (this.currentOpeningPackageIndex > -1) {
if (!GlobalData.openingPackageList.getPackageSaved(currentOpeningPackageIndex)) {
@@ -3005,6 +3005,10 @@ public class FrameworkWizardUI extends IFrame implements MouseListener, TreeSele
closeAll();
this.setTitle(DataType.PROJECT_NAME + " " + DataType.PROJECT_VERSION + " " + "- ["
+ Workspace.getCurrentWorkspace() + "]");
+ //
+ // Reinit Global Data
+ //
+ GlobalData.init();
}
sw.dispose();
}