mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-08 07:25:39 +01:00
Fix for bug #887
A little overkill, but low risk since the majority of the source changed isn't actually used.
This commit is contained in:
@@ -57,14 +57,14 @@ bool SetProjectInfoCommand::Apply(CommandExecutionContext context)
|
||||
wxString settingsString = GetString(wxT(kSetOfTracksStr));
|
||||
|
||||
if (mode.IsSameAs(wxT("SelectedTracks")))
|
||||
SetAllTracksParam( context.proj->GetTracks(), settingsString,
|
||||
SetAllTracksParam( context.GetProject()->GetTracks(), settingsString,
|
||||
&SetProjectInfoCommand::setSelected);
|
||||
|
||||
else if (mode.IsSameAs(wxT("SoloTracks")))
|
||||
SetAllTracksParam( context.proj->GetTracks(), settingsString, &SetProjectInfoCommand::setSolo);
|
||||
SetAllTracksParam( context.GetProject()->GetTracks(), settingsString, &SetProjectInfoCommand::setSolo);
|
||||
|
||||
else if (mode.IsSameAs(wxT("MuteTracks")))
|
||||
SetAllTracksParam( context.proj->GetTracks(), settingsString, &SetProjectInfoCommand::setMute);
|
||||
SetAllTracksParam( context.GetProject()->GetTracks(), settingsString, &SetProjectInfoCommand::setMute);
|
||||
else
|
||||
{
|
||||
Error(wxT("Invalid info type!"));
|
||||
|
||||
Reference in New Issue
Block a user