Merge remote-tracking branch 'origin/GT-2640_ghidravore_decompiler_locations'

This commit is contained in:
ghidravore 2019-05-03 13:58:53 -04:00
commit fb3975e4ef

View File

@ -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