mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
1. Fix a bug about "Can't open a module/platform/package again after they are closed once"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1389 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bf6aed4db5
commit
fe1543a5eb
@ -2477,13 +2477,11 @@ public class FrameworkWizardUI extends IFrame implements MouseListener, TreeSele
|
|||||||
Identification id = null;
|
Identification id = null;
|
||||||
int intCategory = -1;
|
int intCategory = -1;
|
||||||
String path = null;
|
String path = null;
|
||||||
boolean isOpen = false;
|
|
||||||
try {
|
try {
|
||||||
id = iTree.getSelectNode().getId();
|
id = iTree.getSelectNode().getId();
|
||||||
intCategory = iTree.getSelectCategory();
|
intCategory = iTree.getSelectCategory();
|
||||||
isOpen = iTree.getSelectNode().isOpening();
|
|
||||||
|
|
||||||
if (!isOpen) {
|
|
||||||
//
|
//
|
||||||
// If the node is not opened yet
|
// If the node is not opened yet
|
||||||
// Insert top level elements first
|
// Insert top level elements first
|
||||||
@ -2509,7 +2507,6 @@ public class FrameworkWizardUI extends IFrame implements MouseListener, TreeSele
|
|||||||
openPlatform(path);
|
openPlatform(path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Show editor panel
|
// Show editor panel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user