1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01: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; mLastAnalyzerRegistration = repeattypenone;
mLastToolRegistration = repeattypenone; mLastToolRegistration = repeattypenone;
mRepeatGeneratorFlags = 0;
mRepeatEffectFlags = 0;
mRepeatAnalyzerFlags = 0;
mRepeatToolFlags = 0;
} }
MenuCreator::~MenuCreator() MenuCreator::~MenuCreator()

View File

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