Fix random crash on restore when not logged in. Per account settings should only be touched when an account is actually logged in. FIRE-1723
parent
dbde3431ed
commit
b562eeb833
|
|
@ -3220,12 +3220,12 @@ void LLFloaterPreference::onClickRestoreSettings()
|
|||
gDirUtilp->getExpandedFilename(LL_PATH_NONE,backup_per_account_folder,mPerAccountFiles[index]),
|
||||
gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT,mPerAccountFiles[index]));
|
||||
}
|
||||
}
|
||||
|
||||
// toolbars get overwritten when LLToolbarView is destroyed, so make sure
|
||||
// the toolbars are updated here already
|
||||
gToolBarView->clearToolbars();
|
||||
gToolBarView->loadToolbars(FALSE);
|
||||
// toolbars get overwritten when LLToolbarView is destroyed, so make sure
|
||||
// the toolbars are updated here already
|
||||
gToolBarView->clearToolbars();
|
||||
gToolBarView->loadToolbars(FALSE);
|
||||
}
|
||||
|
||||
// restore global folders and their contents
|
||||
for(S32 index=0;index<mGlobalFolders.size();index++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue