mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-19 14:17: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:
parent
fc2628de4d
commit
5416c219bc
@ -7454,7 +7454,7 @@ void AudacityProject::OnMuteAllTracks()
|
|||||||
auto pt = dynamic_cast<PlayableTrack *>(t);
|
auto pt = dynamic_cast<PlayableTrack *>(t);
|
||||||
if (pt) {
|
if (pt) {
|
||||||
pt->SetMute(true);
|
pt->SetMute(true);
|
||||||
if (IsSoloSimple())
|
if (IsSoloSimple() || IsSoloNone())
|
||||||
pt->SetSolo(false);
|
pt->SetSolo(false);
|
||||||
}
|
}
|
||||||
t = iter.Next();
|
t = iter.Next();
|
||||||
@ -7464,7 +7464,7 @@ void AudacityProject::OnMuteAllTracks()
|
|||||||
RedrawProject();
|
RedrawProject();
|
||||||
if (mMixerBoard) {
|
if (mMixerBoard) {
|
||||||
mMixerBoard->UpdateMute();
|
mMixerBoard->UpdateMute();
|
||||||
if (IsSoloSimple())
|
if (IsSoloSimple() || IsSoloNone())
|
||||||
mMixerBoard->UpdateSolo();
|
mMixerBoard->UpdateSolo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -7479,7 +7479,7 @@ void AudacityProject::OnUnMuteAllTracks()
|
|||||||
auto pt = dynamic_cast<PlayableTrack *>(t);
|
auto pt = dynamic_cast<PlayableTrack *>(t);
|
||||||
if (pt) {
|
if (pt) {
|
||||||
pt->SetMute(false);
|
pt->SetMute(false);
|
||||||
if (IsSoloSimple())
|
if (IsSoloSimple() || IsSoloNone())
|
||||||
pt->SetSolo(false);
|
pt->SetSolo(false);
|
||||||
}
|
}
|
||||||
t = iter.Next();
|
t = iter.Next();
|
||||||
@ -7489,7 +7489,7 @@ void AudacityProject::OnUnMuteAllTracks()
|
|||||||
RedrawProject();
|
RedrawProject();
|
||||||
if (mMixerBoard) {
|
if (mMixerBoard) {
|
||||||
mMixerBoard->UpdateMute();
|
mMixerBoard->UpdateMute();
|
||||||
if (IsSoloSimple())
|
if (IsSoloSimple() || IsSoloNone())
|
||||||
mMixerBoard->UpdateSolo();
|
mMixerBoard->UpdateSolo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user