1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Bug 1837 - Unable to set empty track name

Also AudacityCommand dialogs now only show help button if there is help.
Also Track only shows track name over it, if there is a track name.
This commit is contained in:
James Crook
2018-03-25 13:43:49 +01:00
parent 8ce8e7bcce
commit ae564b2724
3 changed files with 53 additions and 6 deletions

View File

@@ -274,7 +274,9 @@ AudacityCommandDialog::AudacityCommandDialog(wxWindow * parent,
mType = type;
wxASSERT( pCommand );
mpCommand = pCommand;
mAdditionalButtons = additionalButtons |eCancelButton | eHelpButton;
mAdditionalButtons = additionalButtons |eCancelButton;
if( !pCommand->ManualPage().IsEmpty() )
mAdditionalButtons |= eHelpButton;
}
bool AudacityCommandDialog::Init()