Browse Source

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)
pull/15/head
Seth Hillbrand 6 years ago
parent
commit
1ef2f84f72
  1. 1
      pcbnew/footprint_libraries_utils.cpp

1
pcbnew/footprint_libraries_utils.cpp

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

Loading…
Cancel
Save