summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-07-06 18:44:42 -0700
committerRichard Linden <none@none>2011-07-06 18:44:42 -0700
commit21d8cc88051297e24bfc21a83c4335c6b005fee6 (patch)
tree575ea52029f76219b7313621ce7af62ef2961dc3 /indra/newview
parentcaff254c9155b55412556c9270bec4b114d83270 (diff)
EXP-847 FIX As a user, I would like to see the How To floater appear the first time I log in to basic mode
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterhelpbrowser.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhelpbrowser.cpp b/indra/newview/llfloaterhelpbrowser.cpp
index 627defd006..3012638d44 100644
--- a/indra/newview/llfloaterhelpbrowser.cpp
+++ b/indra/newview/llfloaterhelpbrowser.cpp
@@ -71,9 +71,18 @@ void LLFloaterHelpBrowser::buildURLHistory()
}
}
+void LLFloaterHelpBrowser::onOpen(const LLSD& key)
+{
+ gSavedSettings.setBOOL("HelpFloaterOpen", TRUE);
+}
+
//virtual
void LLFloaterHelpBrowser::onClose(bool app_quitting)
{
+ if (!app_quitting)
+ {
+ gSavedSettings.setBOOL("HelpFloaterOpen", FALSE);
+ }
// really really destroy the help browser when it's closed, it'll be recreated.
destroy(); // really destroy this dialog on closure, it's relatively heavyweight.
}