mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 07:31:38 +00:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-8-9-23'
This commit is contained in:
commit
8cbfb888e7
@ -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…
Reference in New Issue
Block a user