mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Bug 2689 - Ctrl+R to repeat an effect may show the dialog
This commit is contained in:
parent
9b67c5aeec
commit
c08131b78f
@ -50,6 +50,11 @@ MenuCreator::MenuCreator()
|
||||
{
|
||||
mLastAnalyzerRegistration = repeattypenone;
|
||||
mLastToolRegistration = repeattypenone;
|
||||
|
||||
mRepeatGeneratorFlags = 0;
|
||||
mRepeatEffectFlags = 0;
|
||||
mRepeatAnalyzerFlags = 0;
|
||||
mRepeatToolFlags = 0;
|
||||
}
|
||||
|
||||
MenuCreator::~MenuCreator()
|
||||
|
@ -462,7 +462,7 @@ void OnRepeatLastEffect(const CommandContext &context)
|
||||
if (!lastEffect.empty())
|
||||
{
|
||||
EffectUI::DoEffect(
|
||||
lastEffect, context, menuManager.mRepeatGeneratorFlags);
|
||||
lastEffect, context, menuManager.mRepeatEffectFlags);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user