1
0
Fork 0
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:
ed 2018-09-05 14:45:56 +01:00
parent 3df62d74be
commit de28787c25

View file

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