mirror of https://github.com/acidanthera/audk.git
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:
parent
21b42c665f
commit
b1cfb8a503
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue