1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Bug 1861 - SplitLabels command fails in Macros

This commit is contained in:
James Crook 2018-03-27 19:55:57 +01:00
parent 2db691dc67
commit b92e334873

View File

@ -801,7 +801,8 @@ bool MacroCommands::ApplyCommandInBatchMode( const wxString &friendlyCommand,
const wxString & command, const wxString &params)
{
AudacityProject *project = GetActiveProject();
// Recalc flags and enable items that may have become enabled.
project->UpdateMenus(false);
// enter batch mode...
bool prevShowMode = project->GetShowId3Dialog();
auto cleanup = finally( [&] {