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:
Jon Evans 2023-01-25 12:31:58 -05:00
parent b2f6c13b6a
commit 9954c18244
1 changed files with 2 additions and 2 deletions

View File

@ -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->Show();
m_reporter->ShowWindowModal();
if( isUpdate )
{
@ -571,7 +571,7 @@ void PCM_TASK_MANAGER::RunQueue( wxWindow* aParent )
m_reporter = std::make_unique<DIALOG_PCM_PROGRESS>( aParent );
m_reporter->SetNumPhases( m_download_queue.size() + m_install_queue.size() );
m_reporter->Show();
m_reporter->ShowWindowModal();
wxSafeYield();