From 8c1542221160ed7bd432bfaa4e9214f2d2c60fd8 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 1 Apr 2018 17:52:34 +0100 Subject: [PATCH] Allow 'Export Multiple' of a single track. --- src/export/ExportMultiple.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/export/ExportMultiple.cpp b/src/export/ExportMultiple.cpp index ec2884bb7..85cfcf4c2 100644 --- a/src/export/ExportMultiple.cpp +++ b/src/export/ExportMultiple.cpp @@ -183,10 +183,10 @@ int ExportMultiple::ShowModal() return wxID_CANCEL; } - if ((mNumWaveTracks == 1) && (mNumLabels < 1)) + if ((mNumWaveTracks < 1) && (mNumLabels < 1)) { ::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."), _("Cannot Export Multiple"), wxOK | wxCENTRE, this); @@ -199,7 +199,7 @@ int ExportMultiple::ShowModal() mLabel->SetValue(false); } - if (mNumWaveTracks < 2) { + if (mNumWaveTracks < 1) { mTrack->Enable(false); mLabel->SetValue(true); mTrack->SetValue(false);