mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Don't cancel ThreadWithProgressWindow when it isn't the foremost modal component to allow multiple windows
This commit is contained in:
parent
3df62d74be
commit
de28787c25
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ void ThreadWithProgressWindow::timerCallback()
|
|||
{
|
||||
bool threadStillRunning = isThreadRunning();
|
||||
|
||||
if (! (threadStillRunning && alertWindow->isCurrentlyModal()))
|
||||
if (! (threadStillRunning && alertWindow->isCurrentlyModal (false)))
|
||||
{
|
||||
stopTimer();
|
||||
stopThread (timeOutMsWhenCancelling);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue