summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhowto.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-11 01:48:21 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-11 13:00:45 +0300
commit2ddbdeb165efc0c41866f1fba084fb365474e63c (patch)
treeef5d60e09ff12e420cb44035d0262ff1e66fdf3a /indra/newview/llfloaterhowto.cpp
parent9dee16185a0b33177c6b7b3c60733682cebee66d (diff)
SL-15168 Reset title of guidebook when opening
Diffstat (limited to 'indra/newview/llfloaterhowto.cpp')
-rw-r--r--indra/newview/llfloaterhowto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhowto.cpp b/indra/newview/llfloaterhowto.cpp
index ef40060807..6e913b08ea 100644
--- a/indra/newview/llfloaterhowto.cpp
+++ b/indra/newview/llfloaterhowto.cpp
@@ -51,6 +51,12 @@ BOOL LLFloaterHowTo::postBuild()
void LLFloaterHowTo::onOpen(const LLSD& key)
{
+ // LLFloaterHowTo is intended to be opened as a location specific guidebook
+ // with custom titles, reset the title, LLUrlFloaterDispatchHandler will
+ // set needed one later
+ // todo: make title into general parameter for LLFloaterWebContent
+ setTitle(getString("default_tittle"));
+
LLFloaterWebContent::Params p(key);
if (!p.url.isProvided() || p.url.getValue().empty())
{