mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Call SetCurrentProfile so that LoadNewProfilePrefs() is using the correct profile when checking for new files.
Bug #168433 r=ccarlen sr=alecf
This commit is contained in:
parent
a700e7822f
commit
8f5c0d4b40
@ -881,7 +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.
|
||||
rv = LoadNewProfilePrefs();
|
||||
|
Loading…
Reference in New Issue
Block a user