From b1cfb8a5034e95a29e5475dcaeb3e692a2edbb00 Mon Sep 17 00:00:00 2001 From: hche10x Date: Thu, 17 Aug 2006 23:21:27 +0000 Subject: [PATCH] 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 --- .../org/tianocore/frameworkwizard/FrameworkWizardUI.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java index e8857b543c..0207e4104d 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(); }