1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-31 22:23:54 +01:00
This commit is contained in:
v.audacity
2013-08-03 00:24:26 +00:00
parent d571ece7e6
commit 51e0391b7d
6 changed files with 17 additions and 2 deletions

View File

@@ -237,8 +237,6 @@ void ModuleManager::Initialize(CommandHandler &cmdHandler)
wxString prefix = ::wxPathOnly(files[i]);
::wxSetWorkingDirectory(prefix);
Module *module = new Module(files[i]);
#ifdef EXPERIMENTAL_MODULE_PREFS
if( !IsAllowedModule( files[i] ) ) // don't try and check the in-date-ness before this as that means loading the module to call it's GetVersionString, which could do anything.
#endif EXPERIMENTAL_MODULE_PREFS
@@ -254,6 +252,7 @@ void ModuleManager::Initialize(CommandHandler &cmdHandler)
continue;
}
Module *module = new Module(files[i]);
if (module->Load()) // it will get rejected if there are version problems
{
mInstance->mModules.Add(module);