зеркало из https://github.com/mozilla/pjs.git
Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created.
This commit is contained in:
Родитель
44995cd2b0
Коммит
0c25e8545b
|
@ -881,6 +881,7 @@ nsProfile::ProcessArgs(nsICmdLineService *cmdLineArgs,
|
|||
rv = CreateNewProfile(currProfileName.get(), currProfilePath.get(), nsnull, PR_TRUE);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
*profileDirSet = PR_TRUE;
|
||||
mCurrentProfileAvailable = PR_TRUE;
|
||||
gProfileDataAccess->SetCurrentProfile(currProfileName.get());
|
||||
|
||||
// Need to load new profile prefs.
|
||||
|
|
Загрузка…
Ссылка в новой задаче