commit 98030aabd6b93a20d0fcffc56b7137d5aaff023c
parent 065069e1fd004ea5b0e3f4329a330e269c132157
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 3 Dec 2017 09:12:49 -0800
progress: don't open while a modal dialog is shown [p=1920318]
Otherwise the progress dialog might be displayed above on Windows.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/progress.cpp b/src/progress.cpp
@@ -58,6 +58,9 @@ void Progress::onCommand(const int id, int)
void Progress::onTimer(const int id)
{
+ if(!IsWindowEnabled(handle()))
+ return;
+
show();
stopTimer(id);
}