mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2922 corrected missing diff highlights when switching program tabs
This commit is contained in:
@@ -293,7 +293,8 @@ public class ProgramDiffPlugin extends ProgramPlugin
|
|||||||
AddressIndexMap p2IndexMap = new AddressIndexMap(p1AddressSetAsP2);
|
AddressIndexMap p2IndexMap = new AddressIndexMap(p1AddressSetAsP2);
|
||||||
markerManager.getOverviewProvider().setProgram(secondaryDiffProgram, p2IndexMap);
|
markerManager.getOverviewProvider().setProgram(secondaryDiffProgram, p2IndexMap);
|
||||||
fp.setBackgroundColorModel(
|
fp.setBackgroundColorModel(
|
||||||
new MarkerServiceBackgroundColorModel(markerManager, p2IndexMap));
|
new MarkerServiceBackgroundColorModel(markerManager, secondaryDiffProgram,
|
||||||
|
p2IndexMap));
|
||||||
|
|
||||||
currentSelection = previousP1Selection;
|
currentSelection = previousP1Selection;
|
||||||
p2DiffHighlight = previousP2DiffHighlight;
|
p2DiffHighlight = previousP2DiffHighlight;
|
||||||
|
|||||||
Reference in New Issue
Block a user