From f5a69354e03418232778f60eefa06fbc2ad00a14 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 21 Mar 2021 10:56:51 +0000 Subject: [PATCH] Bug 2701 - Progress dialog interferes with scripting. Interference mattered for "PlayLooped". No interference existed for an empty selection, a play until stopped. --- src/menus/TransportMenus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menus/TransportMenus.cpp b/src/menus/TransportMenus.cpp index 205c0e1cb..04acc21a9 100644 --- a/src/menus/TransportMenus.cpp +++ b/src/menus/TransportMenus.cpp @@ -52,7 +52,7 @@ void PlayCurrentRegionAndWait(const CommandContext &context, projectAudioManager.PlayCurrentRegion(looped, cutpreview); - if (project.mBatchMode > 0 && t0 != t1) { + if (project.mBatchMode > 0 && t0 != t1 && !looped) { wxYieldIfNeeded(); /* i18n-hint: This title appears on a dialog that indicates the progress