mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 13:11:47 +00:00
Merge remote-tracking branch
'origin/GP-5117-dragonmacher-provider-window-open-close' (#7136)
This commit is contained in:
commit
1c3ef56e95
@ -1100,6 +1100,11 @@ public abstract class ComponentProvider implements HelpDescriptor, ActionContext
|
|||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionContext context) {
|
public void actionPerformed(ActionContext context) {
|
||||||
|
|
||||||
|
if (isShowing()) {
|
||||||
|
setVisible(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
DockingWindowManager myDwm = DockingWindowManager.getInstance(getComponent());
|
DockingWindowManager myDwm = DockingWindowManager.getInstance(getComponent());
|
||||||
if (myDwm == null) {
|
if (myDwm == null) {
|
||||||
// this can happen when the tool loses focus
|
// this can happen when the tool loses focus
|
||||||
|
Loading…
Reference in New Issue
Block a user