Remove empty infobar message.

I'm not sure what this was for, but it seems like a bad idea and I
got a few crashes near here.
This commit is contained in:
Jeff Young 2022-07-07 11:19:20 -06:00
parent 62cef3d830
commit fe1bff7d29
1 changed files with 0 additions and 1 deletions

View File

@ -536,7 +536,6 @@ bool SYMBOL_EDIT_FRAME::CanCloseSymbolFromSchematic( bool doClose )
if( doClose )
{
GetInfoBar()->ShowMessageFor( wxEmptyString, 1 );
SetCurSymbol( nullptr, false );
updateTitle();
}