mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Make EffectManager::GetEffectByIdentifier do what BatchCommands::GetAllCommands expects, and disable the BatchCommandDialog mEditParams button when illegal.
This commit is contained in:
@@ -82,6 +82,7 @@ void BatchCommandDialog::PopulateOrExchange(ShuttleGui &S)
|
||||
mCommand = S.AddTextBox(_("&Command"), wxT(""), 20);
|
||||
mCommand->SetEditable(false);
|
||||
mEditParams = S.Id(EditParamsButtonID).AddButton(_("&Edit Parameters"));
|
||||
mEditParams->Enable( false ); // disable button as box is empty
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
|
||||
|
Reference in New Issue
Block a user