GP-2922 corrected missing diff highlights when switching program tabs

This commit is contained in:
ghidra1 2022-12-05 22:44:03 -05:00
parent 324e686979
commit 982997256e

View file

@ -293,7 +293,8 @@ public class ProgramDiffPlugin extends ProgramPlugin
AddressIndexMap p2IndexMap = new AddressIndexMap(p1AddressSetAsP2);
markerManager.getOverviewProvider().setProgram(secondaryDiffProgram, p2IndexMap);
fp.setBackgroundColorModel(
new MarkerServiceBackgroundColorModel(markerManager, p2IndexMap));
new MarkerServiceBackgroundColorModel(markerManager, secondaryDiffProgram,
p2IndexMap));
currentSelection = previousP1Selection;
p2DiffHighlight = previousP2DiffHighlight;