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:
parent
7563f51212
commit
d9ec998ff0
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue