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:39:37 -07:00
parent 7563f51212
commit d9ec998ff0
1 changed files with 1 additions and 1 deletions

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_pcm->MarkInstalled( package, package.versions[0].version, "" );
m_reporter->SetFinished(); m_reporter->SetFinished();
m_reporter->KeepRefreshing( true ); m_reporter->KeepRefreshing( false );
m_reporter->Destroy(); m_reporter->Destroy();
m_reporter.reset(); m_reporter.reset();
} }