PCM: Make the progress dialog modal
I don't know if this was intended to operate modeless, but it doesn't work Fixes https://gitlab.com/kicad/code/kicad/-/issues/13474
This commit is contained in:
parent
b2f6c13b6a
commit
9954c18244
|
@ -406,7 +406,7 @@ void PCM_TASK_MANAGER::InstallFromFile( wxWindow* aParent, const wxString& aFile
|
||||||
}
|
}
|
||||||
|
|
||||||
m_reporter = std::make_unique<DIALOG_PCM_PROGRESS>( aParent, false );
|
m_reporter = std::make_unique<DIALOG_PCM_PROGRESS>( aParent, false );
|
||||||
m_reporter->Show();
|
m_reporter->ShowWindowModal();
|
||||||
|
|
||||||
if( isUpdate )
|
if( isUpdate )
|
||||||
{
|
{
|
||||||
|
@ -571,7 +571,7 @@ void PCM_TASK_MANAGER::RunQueue( wxWindow* aParent )
|
||||||
m_reporter = std::make_unique<DIALOG_PCM_PROGRESS>( aParent );
|
m_reporter = std::make_unique<DIALOG_PCM_PROGRESS>( aParent );
|
||||||
|
|
||||||
m_reporter->SetNumPhases( m_download_queue.size() + m_install_queue.size() );
|
m_reporter->SetNumPhases( m_download_queue.size() + m_install_queue.size() );
|
||||||
m_reporter->Show();
|
m_reporter->ShowWindowModal();
|
||||||
|
|
||||||
wxSafeYield();
|
wxSafeYield();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue