mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Test update for closing windows that are dialogs
This commit is contained in:
parent
5a31ded2e0
commit
c0f2edd2da
1 changed files with 6 additions and 0 deletions
|
@ -384,6 +384,12 @@ public abstract class AbstractDockingTest extends AbstractGuiTest {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (w instanceof DockingDialog dialog) {
|
||||||
|
DialogComponentProvider component = dialog.getDialogComponent();
|
||||||
|
close(component);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
boolean wait = !isOnlyFrame(w);
|
boolean wait = !isOnlyFrame(w);
|
||||||
runSwing(() -> w.setVisible(false), wait);
|
runSwing(() -> w.setVisible(false), wait);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue