From e9ee5cfce40ce32f2e2bff35819d3dcb679330cb Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Mon, 19 May 2014 17:44:41 +0200 Subject: [PATCH] Consider application as "busy" when a modal dialog is currently showing. --- src/Dialog_MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialog_MainWindow.cpp b/src/Dialog_MainWindow.cpp index 9ce34219..6faee4e5 100644 --- a/src/Dialog_MainWindow.cpp +++ b/src/Dialog_MainWindow.cpp @@ -115,7 +115,7 @@ while(0) #define ABORT_IF_BUSY do \ { \ - if(BANNER_VISIBLE || m_delayedFileTimer->isActive()) \ + if(BANNER_VISIBLE || m_delayedFileTimer->isActive() || (QApplication::activeModalWidget() != NULL)) \ { \ lamexp_beep(lamexp_beep_warning); \ return; \