mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +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;
|
||||
}
|
||||
|
||||
if (w instanceof DockingDialog dialog) {
|
||||
DialogComponentProvider component = dialog.getDialogComponent();
|
||||
close(component);
|
||||
return;
|
||||
}
|
||||
|
||||
boolean wait = !isOnlyFrame(w);
|
||||
runSwing(() -> w.setVisible(false), wait);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue