1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

Bug 2689 - Ctrl+R to repeat an effect may show the dialog

This commit is contained in:
James Crook 2021-03-08 09:50:10 +00:00
parent 9b67c5aeec
commit c08131b78f
2 changed files with 6 additions and 1 deletions

View File

@ -50,6 +50,11 @@ MenuCreator::MenuCreator()
{
mLastAnalyzerRegistration = repeattypenone;
mLastToolRegistration = repeattypenone;
mRepeatGeneratorFlags = 0;
mRepeatEffectFlags = 0;
mRepeatAnalyzerFlags = 0;
mRepeatToolFlags = 0;
}
MenuCreator::~MenuCreator()

View File

@ -462,7 +462,7 @@ void OnRepeatLastEffect(const CommandContext &context)
if (!lastEffect.empty())
{
EffectUI::DoEffect(
lastEffect, context, menuManager.mRepeatGeneratorFlags);
lastEffect, context, menuManager.mRepeatEffectFlags);
}
}