1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-28 14:18:41 +02:00

Fix error in playing from cursor, introduced at 4abc71c

This commit is contained in:
Paul Licameli 2019-06-08 13:59:20 -04:00
parent 66a0a93e17
commit 577fdb200f

View File

@ -1553,7 +1553,7 @@ void ProjectWindow::TP_DisplaySelection()
double audioTime;
auto &playRegion = ViewInfo::Get( project ).playRegion;
if (!gAudioIO->IsBusy() && playRegion.Locked())
if (!gAudioIO->IsBusy() && !playRegion.Locked())
ruler.SetPlayRegion( selectedRegion.t0(), selectedRegion.t1() );
else
// Cause ruler redraw anyway, because we may be zooming or scrolling