Remove assert which fires incorrectly when emptying screen.

This commit is contained in:
Jeff Young 2018-11-20 20:11:32 +00:00
parent 9145d6a0a3
commit a958b23a11
1 changed files with 0 additions and 1 deletions

View File

@ -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 )