mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-11 21:52:12 +00:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
6911befabb
@ -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…
Reference in New Issue
Block a user