1
0
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:
James Crook
2020-02-14 13:37:13 +00:00
parent de2459d98a
commit f7c230319e

View File

@@ -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 );