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
This commit is contained in:
hche10x 2006-08-17 23:21:27 +00:00
parent 21b42c665f
commit b1cfb8a503
1 changed files with 5 additions and 1 deletions

View File

@ -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();
}