mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0 force tool to front after accepting a DominFile or URL
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user