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:
parent
1996fba8a6
commit
ba97494d6f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue