1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-05 15:09:08 +02:00

fix the previous

This commit is contained in:
Paul Licameli 2017-04-24 13:13:14 -04:00
parent 967e1fcf02
commit 94d8c2cff7

View File

@ -4033,7 +4033,7 @@ bool AudacityProject::Save(bool overwrite /* = true */ ,
pRightTrack = NULL; pRightTrack = NULL;
auto cleanup = finally( [&] { auto cleanup = finally( [&] {
if (wasSelected) { if (!wasSelected) {
pTrack->SetSelected(false); pTrack->SetSelected(false);
if (pRightTrack) if (pRightTrack)
pRightTrack->SetSelected(false); pRightTrack->SetSelected(false);