mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-04 13:42:48 +00:00
Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created.
This commit is contained in:
parent
a908400172
commit
a0b51a98f1
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user