mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01: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:
@@ -46,6 +46,7 @@
|
||||
#include "ProjectHistory.h"
|
||||
#include "ProjectManager.h"
|
||||
#include "ProjectWindow.h"
|
||||
#include "SelectUtilities.h"
|
||||
#include "commands/CommandManager.h"
|
||||
#include "effects/Effect.h"
|
||||
#include "../images/Arrow.xpm"
|
||||
@@ -467,7 +468,7 @@ void ApplyMacroDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event))
|
||||
auto success = GuardedCall< bool >( [&] {
|
||||
ProjectFileManager::Get( *project ).Import(files[i]);
|
||||
ProjectWindow::Get( *project ).ZoomAfterImport(nullptr);
|
||||
SelectActions::DoSelectAll(*project);
|
||||
SelectUtilities::DoSelectAll(*project);
|
||||
if (!mMacroCommands.ApplyMacro(mCatalog))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user