Don't wait after installing from ZIP

The extraction process completes prior to the call to KeepRefreshing(),
so we should only let it update once and close

Fixes https://gitlab.com/kicad/code/kicad/issues/11601
This commit is contained in:
Seth Hillbrand
2022-05-11 11:42:20 -07:00
parent 7563f51212
commit d9ec998ff0
+1 -1
View File
@@ -337,7 +337,7 @@ void PCM_TASK_MANAGER::InstallFromFile( wxWindow* aParent, const wxString& aFile
m_pcm->MarkInstalled( package, package.versions[0].version, "" );
m_reporter->SetFinished();
m_reporter->KeepRefreshing( true );
m_reporter->KeepRefreshing( false );
m_reporter->Destroy();
m_reporter.reset();
}