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?
This commit is contained in:
Chris Pavlina 2017-03-27 08:07:30 -04:00
parent d2b0a4b358
commit a9afb872d5
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}