From 5416c219bcb35679e42e885e2e805da175b40079 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Thu, 6 Apr 2017 15:20:07 +0100 Subject: [PATCH] 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. --- src/Menus.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index 139374e6b..26a6a2c40 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -7454,7 +7454,7 @@ void AudacityProject::OnMuteAllTracks() auto pt = dynamic_cast(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(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(); } }