diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-04-15 01:23:04 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-04-15 01:23:29 +0300 |
commit | 669dd6adbe29cdbd77d75e7d371a9733be785ea4 (patch) | |
tree | 0326a4c2a0f3cd29660cf4b807f54e9848678441 /indra/newview | |
parent | 2b8bf89ee9fbd536eab0d49c135f0bf32caa4555 (diff) |
SL-14906 Open Guidebook floater on first login
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llstartup.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index ba39cf083d..b7606f7f23 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -1905,9 +1905,14 @@ bool idle_startup() // on with this install. gSavedSettings.setBOOL("ShowStartLocation", TRUE); - // Open Conversation floater on first login. - LLFloaterReg::toggleInstanceOrBringToFront("im_container"); - + LLFloaterWebContent::Params p; + std::string url = gSavedSettings.getString("GuidebookURL"); + p.url = LLWeb::expandURLSubstitutions(url, LLSD()); + p.show_chrome = false; + p.show_page_title = false; + p.preferred_media_size = LLRect(0, 500, 300, 0); + + LLFloaterReg::toggleInstanceOrBringToFront("how_to", p); } display_startup(); |