From e2f82118a22ae8241dcbc1b44a87eee29eb3bdaa Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 16 Feb 2018 14:20:14 +0000 Subject: [PATCH] Rebuild project tree when unarchiving into project dir. Fixes: lp:1749955 * https://bugs.launchpad.net/kicad/+bug/1749955 --- kicad/files-io.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kicad/files-io.cpp b/kicad/files-io.cpp index 1de0ba0944..3db10d647f 100644 --- a/kicad/files-io.cpp +++ b/kicad/files-io.cpp @@ -122,6 +122,12 @@ void KICAD_MANAGER_FRAME::OnUnarchiveFiles( wxCommandEvent& event ) } PrintMsg( wxT( "** end **\n" ) ); + + if( unzipDir == Prj().GetProjectPath() ) + { + wxCommandEvent dummy; + OnRefresh( dummy ); + } }