From a9afb872d51fcc7634a33cec817887696b7b0fac Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Mon, 27 Mar 2017 08:07:30 -0400 Subject: [PATCH] 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? --- eeschema/libedit.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eeschema/libedit.cpp b/eeschema/libedit.cpp index fc9aa63e68..eadf7d5bff 100644 --- a/eeschema/libedit.cpp +++ b/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; }