mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 14:45:07 +08:00
Test update for closing windows that are dialogs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user