Browse Source

libedit: fix crash on Delete Component with no selection

This bug was actually here before the new component chooser this time;
I'm not sure what the purpose of this error message was since it is
being displayed in a non-error state. Maybe a copy/paste bug from when
Delete Component was changed to use the main component chooser?
pull/3/merge
Chris Pavlina 9 years ago
parent
commit
a9afb872d5
  1. 4
      eeschema/libedit.cpp

4
eeschema/libedit.cpp

@ -549,10 +549,6 @@ void LIB_EDIT_FRAME::DeleteOnePart( wxCommandEvent& event )
if( !libEntry )
{
msg.Printf( _( "Entry '%s' not found in library '%s'." ),
GetChars( libEntry->GetName() ),
GetChars( lib->GetName() ) );
DisplayError( this, msg );
return;
}

Loading…
Cancel
Save