From e3fa27034524e298f4578f4a67b2360b60d4d92a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 28 Apr 2014 11:01:57 -0700 Subject: [PATCH] Process any pending log text when a progress dialog completes --- src/dialog_progress.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dialog_progress.cpp b/src/dialog_progress.cpp index 1b115de1f..669b47d5b 100644 --- a/src/dialog_progress.cpp +++ b/src/dialog_progress.cpp @@ -171,6 +171,10 @@ void DialogProgress::Run(std::function task, int prior if (cancelled || (log_output->IsEmpty() && !pending_log)) EndModal(!cancelled); else { + if (!pending_log.empty()) { + wxIdleEvent evt; + OnIdle(evt); + } cancel_button->SetLabelText(_("Close")); gauge->SetValue(300); }