mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge branch
'GP-2514_ryanmkurtz_PR-4564_shocoman_fix-function-call-graph-positioning-bug' into patch (Closes #4564)
This commit is contained in:
commit
85b506b7c6
1 changed files with 7 additions and 0 deletions
|
@ -172,6 +172,13 @@ public class FcgProvider
|
|||
if (!graphData.hasResults()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// The graph component won't contain valid perspective information if it's not 'initialized'
|
||||
// (i.e. rendered or displayed to the user). It may happen if the graph has been kept minimized
|
||||
// in the separate tab. Related method: `GraphComponent::viewerInitialized`
|
||||
if (view.getGraphComponent().isUninitialized()) {
|
||||
return;
|
||||
}
|
||||
|
||||
GraphPerspectiveInfo<FcgVertex, FcgEdge> info = view.generateGraphPerspective();
|
||||
graphData.setGraphPerspective(info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue