mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-1451: Add sync selection actions, toggles
This commit is contained in:
parent
ccbf264116
commit
cfdf1051a1
32 changed files with 1068 additions and 424 deletions
|
@ -724,7 +724,10 @@ public class ProgramDiffPlugin extends ProgramPlugin
|
|||
* which displays P2.
|
||||
*/
|
||||
@Override
|
||||
public void programSelectionChanged(ProgramSelection newP2Selection) {
|
||||
public void programSelectionChanged(ProgramSelection newP2Selection, EventTrigger trigger) {
|
||||
if (trigger != EventTrigger.GUI_ACTION) {
|
||||
return;
|
||||
}
|
||||
setProgram2Selection(newP2Selection);
|
||||
}
|
||||
|
||||
|
@ -1831,7 +1834,8 @@ public class ProgramDiffPlugin extends ProgramPlugin
|
|||
MarkerSet selectionMarkers = getSelectionMarkers();
|
||||
selectionMarkers.clearAll();
|
||||
|
||||
programSelectionChanged(new ProgramSelection(p2AddressFactory, set));
|
||||
programSelectionChanged(new ProgramSelection(p2AddressFactory, set),
|
||||
EventTrigger.GUI_ACTION);
|
||||
updatePgm2Enablement();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue