1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

slight further tweaks

This commit is contained in:
v.audacity 2013-01-08 01:15:08 +00:00
parent fd14d9cfc0
commit c7407ca9e0

View File

@ -172,19 +172,21 @@ void ExportMultiple::CountTracksAndLabels()
int ExportMultiple::ShowModal() int ExportMultiple::ShowModal()
{ {
// Cannot export if all audio tracks are muted. // Cannot export if all audio tracks are muted.
if (mNumWaveTracks == 0) { if (mNumWaveTracks == 0)
{
::wxMessageBox(_("All audio is muted."), ::wxMessageBox(_("All audio is muted."),
_("Cannot Export Multiple"), _("Cannot Export Multiple"),
wxOK | wxCENTRE, this); wxOK | wxCENTRE, this);
return wxID_CANCEL; return wxID_CANCEL;
} }
if (mNumWaveTracks < 2 && mNumLabels < 1) { if ((mNumWaveTracks == 1) && (mNumLabels < 1))
{
::wxMessageBox(_( ::wxMessageBox(_(
"You have only one unmuted Audio Track and no applicable \ "You have only one unmuted Audio Track and no applicable \
\nlabels, so you cannot export to separate audio files. \ \nlabels, so you cannot export to separate audio files. \
\n\nYou can have more than one Label Track, but files will \ \n\nIf you have more than one Label Track, Export Multiple is \
\nbe exported based only on the uppermost Label Track."), \nbased only on labels in the uppermost Label Track."),
_("Cannot Export Multiple"), _("Cannot Export Multiple"),
wxOK | wxCENTRE, this); wxOK | wxCENTRE, this);
return wxID_CANCEL; return wxID_CANCEL;