summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 07eada87ea..793944f7fa 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -855,9 +855,6 @@ bool idle_startup()
//For HTML parsing in text boxes.
LLTextEditor::setLinkColor( gSavedSettings.getColor4("HTMLLinkColor") );
- LLTextEditor::setURLCallbacks ( &LLWeb::loadURL,
- &LLURLDispatcher::dispatchFromTextEditor,
- &LLURLDispatcher::dispatchFromTextEditor );
// Load URL History File
LLURLHistory::loadFile("url_history.xml");
@@ -1964,6 +1961,7 @@ bool idle_startup()
}
}
options.clear();
+ bool show_hud = false;
if(LLUserAuth::getInstance()->getOptions("tutorial_setting", options))
{
LLUserAuth::options_t::iterator it = options.begin();
@@ -1982,11 +1980,19 @@ bool idle_startup()
{
if (option_it->second == "true")
{
- LLFloaterHUD::showHUD();
+ show_hud = true;
}
}
}
}
+ // Either we want to show tutorial because this is the first login
+ // to a Linden Help Island or the user quit with the tutorial
+ // visible. JC
+ if (show_hud
+ || gSavedSettings.getBOOL("ShowTutorial"))
+ {
+ LLFloaterHUD::showHUD();
+ }
options.clear();
if(LLUserAuth::getInstance()->getOptions("event_categories", options))