mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-8-9-23'
This commit is contained in:
commit
8cbfb888e7
2 changed files with 1 additions and 13 deletions
|
@ -138,13 +138,7 @@ public class TableServicePlugin extends ProgramPlugin
|
|||
GhidraProgramTableModel<T> model, String windowSubMenu, Navigatable navigatable) {
|
||||
|
||||
GoToService gotoService = tool.getService(GoToService.class);
|
||||
|
||||
if (gotoService != null && navigatable == null) {
|
||||
navigatable = gotoService.getDefaultNavigatable();
|
||||
}
|
||||
|
||||
Program program = model.getProgram();
|
||||
|
||||
TableComponentProvider<T> cp = new TableComponentProvider<>(this, title, tableTypeName,
|
||||
model, program.getDomainFile().getName(), gotoService, windowSubMenu, navigatable);
|
||||
addProvider(program, cp);
|
||||
|
@ -157,14 +151,8 @@ public class TableServicePlugin extends ProgramPlugin
|
|||
String windowSubMenu, Navigatable navigatable) {
|
||||
|
||||
GoToService gotoService = tool.getService(GoToService.class);
|
||||
|
||||
if (gotoService != null && navigatable == null) {
|
||||
navigatable = gotoService.getDefaultNavigatable();
|
||||
}
|
||||
|
||||
MarkerService markerService = tool.getService(MarkerService.class);
|
||||
Program program = model.getProgram();
|
||||
|
||||
TableComponentProvider<T> cp = new TableComponentProvider<>(this, title, tableTypeName,
|
||||
model, program.getDomainFile().getName(), gotoService, markerService, markerColor,
|
||||
markerIcon, windowSubMenu, navigatable);
|
||||
|
|
|
@ -127,7 +127,7 @@ public class GhidraTable extends GTable {
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.navigatable == null) {
|
||||
if (navigationKeyListener == null) {
|
||||
navigationKeyListener = new KeyAdapter() {
|
||||
@Override
|
||||
public void keyPressed(KeyEvent e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue