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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user