Skip to content

Ghidra is a software reverse engineering (SRE) framework

Removed code causing duplicate table action to be added to tool

adamopolous586ba6ad92f5
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/CodeBrowserPlugin.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/CodeBrowserPlugin.java
index 1b9a03b58f..e1fc295ff3 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/CodeBrowserPlugin.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/CodeBrowserPlugin.java
@@ -939,12 +939,6 @@ public class CodeBrowserPlugin extends Plugin
"SelectUtils"));
tableFromSelectionAction.setHelpLocation(
new HelpLocation("CodeBrowserPlugin", "Selection_Table"));
-
- // don't add the actions initially if the service isn't there
- TableService tableService = tool.getService(TableService.class);
- if (tableService != null) {
- tool.addAction(tableFromSelectionAction);
- }
}
private GhidraProgramTableModel<Address> createTableModel(CodeUnitIterator iterator,