mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-1528: Fix dynamic listing context / focus issue, now that GP-3349 is done.
This commit is contained in:
@@ -132,14 +132,14 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
||||
|
||||
@Override
|
||||
public ActionContext getActionContext(MouseEvent event) {
|
||||
return getByteViewerActionContext();
|
||||
}
|
||||
|
||||
ByteViewerActionContext getByteViewerActionContext() {
|
||||
ByteBlockInfo info = panel.getCursorLocation();
|
||||
if (info == null) {
|
||||
return null;
|
||||
}
|
||||
return newByteViewerActionContext();
|
||||
}
|
||||
|
||||
protected ByteViewerActionContext newByteViewerActionContext() {
|
||||
return new ByteViewerActionContext(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user