Bug 144930 - Profile dialog pops up on every launch with QuickLaunch. Regression from bug 76431. r=rjesup@wgate.com/sr=brendan@mozilla.org
This commit is contained in:
Родитель
e4ef1b46a1
Коммит
840aec7377
|
@ -535,6 +535,12 @@ nsProfile::LoadDefaultProfileDir(nsCString & profileURLStr, PRBool canInteract)
|
|||
}
|
||||
else if (numProfiles == 1)
|
||||
{
|
||||
// If we get here and the 1 profile is the current profile,
|
||||
// which can happen with QuickLaunch, there's no need to do
|
||||
// any futher work.
|
||||
if (mCurrentProfileAvailable)
|
||||
return NS_OK;
|
||||
|
||||
// Make sure the profile dir exists. If not, we need the UI
|
||||
nsCOMPtr<nsIFile> curProfileDir;
|
||||
PRBool exists = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче