mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Merge remote-tracking branch 'origin/GT-2640_ghidravore_decompiler_locations'
This commit is contained in:
commit
fb3975e4ef
@ -201,10 +201,10 @@ public class DecompilerProvider extends NavigatableComponentProviderAdapter
|
||||
|
||||
@Override
|
||||
public ProgramLocation getLocation() {
|
||||
if (currentLocation == null) {
|
||||
return plugin.getCurrentLocation(); // avoid returning null
|
||||
if (currentLocation instanceof DecompilerLocation) {
|
||||
return currentLocation;
|
||||
}
|
||||
return currentLocation;
|
||||
return controller.getDecompilerPanel().getCurrentLocation();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user