Stop confusing Covertiy.

This commit is contained in:
Jeff Young 2023-06-10 11:16:55 +01:00
parent 0159be8ddd
commit 53be16f409
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ void SCH_COMMIT::pushLibEdit( const wxString& aMessage, int aCommitFlags )
}); });
} }
if( !( aCommitFlags & SKIP_UNDO ) && sym_frame ) if( !( aCommitFlags & SKIP_UNDO ) )
{ {
if( ent.m_copy ) if( ent.m_copy )
{ {
@ -172,7 +172,7 @@ void SCH_COMMIT::pushLibEdit( const wxString& aMessage, int aCommitFlags )
if( selectedModified ) if( selectedModified )
m_toolMgr->ProcessEvent( EVENTS::SelectedItemsModified ); m_toolMgr->ProcessEvent( EVENTS::SelectedItemsModified );
if( sym_frame && !( aCommitFlags & SKIP_SET_DIRTY ) ) if( !( aCommitFlags & SKIP_SET_DIRTY ) )
sym_frame->OnModify(); sym_frame->OnModify();
clear(); clear();