Browse Source

Don't cancel ThreadWithProgressWindow when it isn't the foremost modal component to allow multiple windows

tags/2021-05-28
ed 7 years ago
parent
commit
de28787c25
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.cpp

+ 1
- 1
modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.cpp View File

@@ -87,7 +87,7 @@ void ThreadWithProgressWindow::timerCallback()
{
bool threadStillRunning = isThreadRunning();
if (! (threadStillRunning && alertWindow->isCurrentlyModal()))
if (! (threadStillRunning && alertWindow->isCurrentlyModal (false)))
{
stopTimer();
stopThread (timeOutMsWhenCancelling);


Loading…
Cancel
Save