mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
c11d589514
1 changed files with 2 additions and 2 deletions
|
@ -1119,7 +1119,7 @@ public class DefaultGraphDisplay implements GraphDisplay {
|
||||||
}
|
}
|
||||||
|
|
||||||
graphMouse = new JgtPluggableGraphMouse(this);
|
graphMouse = new JgtPluggableGraphMouse(this);
|
||||||
viewer.setGraphMouse(graphMouse);
|
vv.setGraphMouse(graphMouse);
|
||||||
|
|
||||||
return vv;
|
return vv;
|
||||||
}
|
}
|
||||||
|
@ -1144,7 +1144,7 @@ public class DefaultGraphDisplay implements GraphDisplay {
|
||||||
// vertices
|
// vertices
|
||||||
if (e.getStateChange() == ItemEvent.SELECTED) {
|
if (e.getStateChange() == ItemEvent.SELECTED) {
|
||||||
Collection<AttributedVertex> selectedVertices = getVertices(e.getItem());
|
Collection<AttributedVertex> selectedVertices = getVertices(e.getItem());
|
||||||
notifySelectionChanged(new HashSet<AttributedVertex>(selectedVertices));
|
notifySelectionChanged(new HashSet<>(selectedVertices));
|
||||||
|
|
||||||
if (selectedVertices.size() == 1) {
|
if (selectedVertices.size() == 1) {
|
||||||
// if only one vertex was selected, make it the focused vertex
|
// if only one vertex was selected, make it the focused vertex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue