1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Bug 2701 - Progress dialog interferes with scripting.

Interference mattered for "PlayLooped".
No interference existed for an empty selection, a play until stopped.
This commit is contained in:
James Crook 2021-03-21 10:56:51 +00:00
parent 414087a83d
commit f5a69354e0

View File

@ -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