diff --git a/eeschema/lib_edit_frame.cpp b/eeschema/lib_edit_frame.cpp index a7e0cef4a6..202f46a488 100644 --- a/eeschema/lib_edit_frame.cpp +++ b/eeschema/lib_edit_frame.cpp @@ -1025,7 +1025,7 @@ wxString LIB_EDIT_FRAME::SetCurLib( const wxString& aLibNickname ) void LIB_EDIT_FRAME::SetCurPart( LIB_PART* aPart ) { if( !aPart && !m_my_part ) - return; + return; wxASSERT( m_my_part != aPart );