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

Bug 1625 - Mute/Unmute All Tracks in "None" Solo Button Mode

Problem: Mute/Unmute All Tracks in "None" Solo Button Mode does not change track audibility, only changes button state.

Fix: same fix for "none" as for "simple" in commit c8f58c9.
This commit is contained in:
David Bailes 2017-04-06 15:20:07 +01:00
parent fc2628de4d
commit 5416c219bc

View File

@ -7454,7 +7454,7 @@ void AudacityProject::OnMuteAllTracks()
auto pt = dynamic_cast<PlayableTrack *>(t);
if (pt) {
pt->SetMute(true);
if (IsSoloSimple())
if (IsSoloSimple() || IsSoloNone())
pt->SetSolo(false);
}
t = iter.Next();
@ -7464,7 +7464,7 @@ void AudacityProject::OnMuteAllTracks()
RedrawProject();
if (mMixerBoard) {
mMixerBoard->UpdateMute();
if (IsSoloSimple())
if (IsSoloSimple() || IsSoloNone())
mMixerBoard->UpdateSolo();
}
}
@ -7479,7 +7479,7 @@ void AudacityProject::OnUnMuteAllTracks()
auto pt = dynamic_cast<PlayableTrack *>(t);
if (pt) {
pt->SetMute(false);
if (IsSoloSimple())
if (IsSoloSimple() || IsSoloNone())
pt->SetSolo(false);
}
t = iter.Next();
@ -7489,7 +7489,7 @@ void AudacityProject::OnUnMuteAllTracks()
RedrawProject();
if (mMixerBoard) {
mMixerBoard->UpdateMute();
if (IsSoloSimple())
if (IsSoloSimple() || IsSoloNone())
mMixerBoard->UpdateSolo();
}
}