mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 06:01:04 +01:00
Bug 2317 - Scripting: "GetInfo: Commands" omits commands without parameters
This commit is contained in:
@@ -149,8 +149,8 @@ bool GetInfoCommand::Apply(const CommandContext &context)
|
||||
bool GetInfoCommand::ApplyInner(const CommandContext &context)
|
||||
{
|
||||
switch( mInfoType ){
|
||||
case kCommands : return SendCommands( context, 0 );
|
||||
//case kCommandsPlus : return SendCommands( context, 1 );
|
||||
// flag of 1 to include parameterless commands.
|
||||
case kCommands : return SendCommands( context, 1 );
|
||||
case kMenus : return SendMenus( context );
|
||||
case kPreferences : return SendPreferences( context );
|
||||
case kTracks : return SendTracks( context );
|
||||
|
||||
Reference in New Issue
Block a user