Add asserting checking.
This commit is contained in:
parent
9055043409
commit
a105f6c297
|
@ -709,6 +709,8 @@ void SCH_EDIT_FRAME::HardRedraw()
|
||||||
|
|
||||||
for( std::pair<const wxString, LIB_SYMBOL*>& libSymbol : screen->GetLibSymbols() )
|
for( std::pair<const wxString, LIB_SYMBOL*>& libSymbol : screen->GetLibSymbols() )
|
||||||
{
|
{
|
||||||
|
wxASSERT( libSymbol.second );
|
||||||
|
|
||||||
if( libSymbol.second )
|
if( libSymbol.second )
|
||||||
libSymbol.second->ClearCaches();
|
libSymbol.second->ClearCaches();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue