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
(cherry picked from commit d9ec998ff0
)
This commit is contained in:
parent
5c4f49351d
commit
40e0d06381
|
@ -340,7 +340,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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue