Clear Editing Board Footprint message when loading new footprint.

Fixes https://gitlab.com/kicad/code/kicad/issues/12783
This commit is contained in:
Jeff Young 2022-10-28 15:58:42 +01:00
parent fb8493d0bc
commit 24f8bf2adf
1 changed files with 4 additions and 0 deletions

View File

@ -524,6 +524,10 @@ void FOOTPRINT_EDIT_FRAME::AddFootprintToBoard( FOOTPRINT* aFootprint )
GetInfoBar()->AddCloseButton();
GetInfoBar()->ShowMessage( msg, wxICON_INFORMATION );
}
else
{
GetInfoBar()->Dismiss();
}
UpdateMsgPanel();
}