Replace wxASSERT with wxCHECK2.
This commit is contained in:
parent
31eb91e9e5
commit
193e8715f9
|
@ -709,10 +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 );
|
wxCHECK2( libSymbol.second, continue );
|
||||||
|
libSymbol.second->ClearCaches();
|
||||||
if( libSymbol.second )
|
|
||||||
libSymbol.second->ClearCaches();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RecalculateConnections( LOCAL_CLEANUP );
|
RecalculateConnections( LOCAL_CLEANUP );
|
||||||
|
|
Loading…
Reference in New Issue