mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
Bug 1861 - SplitLabels command fails in Macros
This commit is contained in:
parent
2db691dc67
commit
b92e334873
@ -801,7 +801,8 @@ bool MacroCommands::ApplyCommandInBatchMode( const wxString &friendlyCommand,
|
|||||||
const wxString & command, const wxString ¶ms)
|
const wxString & command, const wxString ¶ms)
|
||||||
{
|
{
|
||||||
AudacityProject *project = GetActiveProject();
|
AudacityProject *project = GetActiveProject();
|
||||||
|
// Recalc flags and enable items that may have become enabled.
|
||||||
|
project->UpdateMenus(false);
|
||||||
// enter batch mode...
|
// enter batch mode...
|
||||||
bool prevShowMode = project->GetShowId3Dialog();
|
bool prevShowMode = project->GetShowId3Dialog();
|
||||||
auto cleanup = finally( [&] {
|
auto cleanup = finally( [&] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user