mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 20:22:44 +00:00
GP-4060 disable compare matching callees action in VT
This commit is contained in:
parent
fda9c1f35e
commit
0656739ccd
@ -49,10 +49,13 @@ public class CompareFuncsFromMatchedTokensAction extends AbstractMatchedTokensAc
|
||||
PluginTool tool) {
|
||||
super(ACTION_NAME, tool.getName(), diffPanel, false);
|
||||
this.tool = tool;
|
||||
MenuData menuData = new MenuData(new String[] { ACTION_NAME }, null, MENU_GROUP);
|
||||
setPopupMenuData(menuData);
|
||||
setEnabled(true);
|
||||
setHelpLocation(new HelpLocation(HELP_TOPIC, "Compare Matching Callees"));
|
||||
FunctionComparisonService service = tool.getService(FunctionComparisonService.class);
|
||||
if (service != null) {
|
||||
MenuData menuData = new MenuData(new String[] { ACTION_NAME }, null, MENU_GROUP);
|
||||
setPopupMenuData(menuData);
|
||||
setEnabled(true);
|
||||
setHelpLocation(new HelpLocation(HELP_TOPIC, "Compare Matching Callees"));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user