mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Opt-out of check for updates persists after preference resets...
... These can happen in only two ways, using the application: from the Tools menu, or using the Windows intaller program. A review of all uses of wxFileConfig::DeleteAll() proves this. The one special BoolSetting object was moved from UpdateManager to Prefs.cpp to avoid a dependency cycle among source code files.
This commit is contained in:
committed by
Paul Licameli
parent
bfb79feed3
commit
870fc5d626
@@ -384,7 +384,7 @@ void OnResetConfig(const CommandContext &context)
|
||||
menuManager.mLastAnalyzer = "";
|
||||
menuManager.mLastTool = "";
|
||||
|
||||
gPrefs->DeleteAll();
|
||||
ResetPreferences();
|
||||
|
||||
// Directory will be reset on next restart.
|
||||
FileNames::UpdateDefaultPath(FileNames::Operation::Temp, TempDirectory::DefaultTempDir());
|
||||
|
||||
Reference in New Issue
Block a user