GP-0 force tool to front after accepting a DominFile or URL

This commit is contained in:
ghidra1
2023-02-22 18:40:28 -05:00
parent bdc6f56c40
commit f80d2b0444

View File

@@ -47,6 +47,7 @@ class PluginManager {
boolean acceptData(DomainFile[] data) {
for (Plugin p : pluginList) {
if (p.acceptData(data)) {
tool.getWindowManager().getMainWindow().toFront();
return true;
}
}
@@ -64,6 +65,7 @@ class PluginManager {
boolean accept(URL url) {
for (Plugin p : pluginList) {
if (p.accept(url)) {
tool.getWindowManager().getMainWindow().toFront();
return true;
}
}