mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-12 06:01:13 +02:00
Bug 2262 - Scriptables are non-functional
Caused by commit e496876. Problem caused by moving cookedParameter to another function, which then wasn't used.
This commit is contained in:
parent
1399f12c00
commit
a512706646
@ -626,12 +626,7 @@ CommandListEntry *CommandManager::NewIdentifier(const CommandID & nameIn,
|
||||
|
||||
const wxString & accel = options.accel;
|
||||
bool bIsEffect = options.bIsEffect;
|
||||
CommandID cookedParameter;
|
||||
const auto ¶meter = options.parameter;
|
||||
if( parameter == "" )
|
||||
cookedParameter = nameIn;
|
||||
else
|
||||
cookedParameter = parameter;
|
||||
CommandID parameter = options.parameter == "" ? nameIn : options.parameter;
|
||||
|
||||
// if empty, new identifier's long label will be same as label, below:
|
||||
const auto &longLabel = options.longName;
|
||||
|
Loading…
x
Reference in New Issue
Block a user