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
(cherry picked from commit ba97494d6f
)
This commit is contained in:
parent
b876309999
commit
1ef2f84f72
|
@ -992,6 +992,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
|
||||||
wxString msg = wxString::Format( fmt, footprintName.GetData(), libraryName.GetData() );
|
wxString msg = wxString::Format( fmt, footprintName.GetData(), libraryName.GetData() );
|
||||||
SetStatusText( msg );
|
SetStatusText( msg );
|
||||||
updateTitle();
|
updateTitle();
|
||||||
|
ReCreateHToolbar();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue