KiCad: fix crash bug when editing symbol library table.
Do not check the connection graph when editing the symbol library table from KiCad because the connection graph object is no valid when the schematic editor is not open. Fixes kicad/code/kicad#3682
This commit is contained in:
parent
c31c99abd1
commit
879ec7d8e6
|
@ -1204,7 +1204,8 @@ void SCH_SCREENS::UpdateSymbolLinks( bool aForce )
|
||||||
|
|
||||||
// All of the library symbols have been replaced with copies so the connection graph
|
// All of the library symbols have been replaced with copies so the connection graph
|
||||||
// pointer are stale.
|
// pointer are stale.
|
||||||
g_ConnectionGraph->Recalculate( sheets, true );
|
if( g_ConnectionGraph )
|
||||||
|
g_ConnectionGraph->Recalculate( sheets, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue