mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
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;
|
break;
|
||||||
//
|
//
|
||||||
// Current is package
|
// Current is package
|
||||||
//
|
//
|
||||||
case 1:
|
case 1:
|
||||||
if (this.currentOpeningPackageIndex > -1) {
|
if (this.currentOpeningPackageIndex > -1) {
|
||||||
if (!GlobalData.openingPackageList.getPackageSaved(currentOpeningPackageIndex)) {
|
if (!GlobalData.openingPackageList.getPackageSaved(currentOpeningPackageIndex)) {
|
||||||
@ -3005,6 +3005,10 @@ public class FrameworkWizardUI extends IFrame implements MouseListener, TreeSele
|
|||||||
closeAll();
|
closeAll();
|
||||||
this.setTitle(DataType.PROJECT_NAME + " " + DataType.PROJECT_VERSION + " " + "- ["
|
this.setTitle(DataType.PROJECT_NAME + " " + DataType.PROJECT_VERSION + " " + "- ["
|
||||||
+ Workspace.getCurrentWorkspace() + "]");
|
+ Workspace.getCurrentWorkspace() + "]");
|
||||||
|
//
|
||||||
|
// Reinit Global Data
|
||||||
|
//
|
||||||
|
GlobalData.init();
|
||||||
}
|
}
|
||||||
sw.dispose();
|
sw.dispose();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user