Update toolbar to get new icon/tooltip

After a save-as the footprint belongs to the library, we need to refresh
the toolbar to get the correct icon.

Fixes: lp:1826889
* https://bugs.launchpad.net/kicad/+bug/1826889
This commit is contained in:
Seth Hillbrand 2019-06-18 19:23:53 -07:00
parent 1996fba8a6
commit ba97494d6f
1 changed files with 1 additions and 0 deletions

View File

@ -988,6 +988,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
wxString msg = wxString::Format( fmt, footprintName.GetData(), libraryName.GetData() );
SetStatusText( msg );
updateTitle();
ReCreateHToolbar();
return true;
}