1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Allow 'Export Multiple' of a single track.

This commit is contained in:
James Crook 2018-04-01 17:52:34 +01:00
parent b8eeebc269
commit 8c15422211

View File

@ -183,10 +183,10 @@ int ExportMultiple::ShowModal()
return wxID_CANCEL; return wxID_CANCEL;
} }
if ((mNumWaveTracks == 1) && (mNumLabels < 1)) if ((mNumWaveTracks < 1) && (mNumLabels < 1))
{ {
::AudacityMessageBox(_( ::AudacityMessageBox(_(
"You have only one unmuted Audio Track and no applicable \ "You have no unmuted Audio Tracks and no applicable \
\nlabels, so you cannot export to separate audio files."), \nlabels, so you cannot export to separate audio files."),
_("Cannot Export Multiple"), _("Cannot Export Multiple"),
wxOK | wxCENTRE, this); wxOK | wxCENTRE, this);
@ -199,7 +199,7 @@ int ExportMultiple::ShowModal()
mLabel->SetValue(false); mLabel->SetValue(false);
} }
if (mNumWaveTracks < 2) { if (mNumWaveTracks < 1) {
mTrack->Enable(false); mTrack->Enable(false);
mLabel->SetValue(true); mLabel->SetValue(true);
mTrack->SetValue(false); mTrack->SetValue(false);