From 9954c18244af24587f214408b28f9d8108eaaa6e Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 25 Jan 2023 12:31:58 -0500 Subject: [PATCH] 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 --- kicad/pcm/pcm_task_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kicad/pcm/pcm_task_manager.cpp b/kicad/pcm/pcm_task_manager.cpp index 20e4d7f353..8dbb8ae525 100644 --- a/kicad/pcm/pcm_task_manager.cpp +++ b/kicad/pcm/pcm_task_manager.cpp @@ -406,7 +406,7 @@ void PCM_TASK_MANAGER::InstallFromFile( wxWindow* aParent, const wxString& aFile } m_reporter = std::make_unique( 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( aParent ); m_reporter->SetNumPhases( m_download_queue.size() + m_install_queue.size() ); - m_reporter->Show(); + m_reporter->ShowWindowModal(); wxSafeYield();