From 1ef2f84f72d87760b702515adf2f6df80c944fb7 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 18 Jun 2019 19:23:53 -0700 Subject: [PATCH] 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 ba97494d6f0cd3726e9de462072c643fb7d7c11f) --- pcbnew/footprint_libraries_utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/footprint_libraries_utils.cpp b/pcbnew/footprint_libraries_utils.cpp index 45f88d3e02..970cf45e71 100644 --- a/pcbnew/footprint_libraries_utils.cpp +++ b/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; }