Remove assert which fires incorrectly when emptying screen.
This commit is contained in:
parent
9145d6a0a3
commit
a958b23a11
|
@ -938,7 +938,6 @@ void LIB_EDIT_FRAME::SetCurPart( LIB_PART* aPart )
|
|||
if( !aPart && !m_my_part )
|
||||
return;
|
||||
|
||||
wxASSERT( m_my_part != aPart );
|
||||
GetScreen()->SetCurItem( nullptr );
|
||||
|
||||
if( m_my_part != aPart )
|
||||
|
|
Loading…
Reference in New Issue