1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-01 03:54:47 +02:00

Move functions into new file SelectUtilities.cpp ...

... so that other files do not have link dependency on SelectMenus.cpp

The new file enlarges the big s.c.c. to 24
This commit is contained in:
Paul Licameli
2019-06-21 19:38:38 -04:00
parent fab648e475
commit 02e620d35f
17 changed files with 216 additions and 160 deletions

View File

@@ -33,6 +33,7 @@ processing. See also MacrosWindow and ApplyMacroDialog.
#include "Menus.h"
#include "PluginManager.h"
#include "Prefs.h"
#include "SelectUtilities.h"
#include "Shuttle.h"
#include "Track.h"
#include "export/ExportFLAC.h"
@@ -722,7 +723,7 @@ bool MacroCommands::ApplyEffectCommand(
// IF nothing selected, THEN select everything
// (most effects require that you have something selected).
if( plug->GetPluginType() != PluginTypeAudacityCommand )
SelectActions::SelectAllIfNone( *project );
SelectUtilities::SelectAllIfNone( *project );
bool res = false;