1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 04:01:54 +01:00

Remove NormalizeOnLoad

It's a mis-feature.
This commit is contained in:
James Crook
2019-08-02 18:09:05 +01:00
parent 5ebc13be93
commit 65682e7a0c
4 changed files with 2 additions and 24 deletions

View File

@@ -1711,18 +1711,6 @@ bool ProjectFileManager::Import(
}
}
int mode = gPrefs->Read(wxT("/AudioFiles/NormalizeOnLoad"), 0L);
if (mode == 1) {
//TODO: All we want is a SelectAll()
SelectUtilities::SelectNone( project );
SelectUtilities::SelectAllIfNone( project );
const CommandContext context( project );
EffectManager::DoEffect(
EffectManager::Get().GetEffectByIdentifier(wxT("Normalize")),
context,
EffectManager::kConfigured);
}
// This is a no-fail:
dirManager.FillBlockfilesCache();
return true;