diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 01:48:21 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 13:00:45 +0300 |
commit | 2ddbdeb165efc0c41866f1fba084fb365474e63c (patch) | |
tree | ef5d60e09ff12e420cb44035d0262ff1e66fdf3a /indra/newview/llfloaterhowto.cpp | |
parent | 9dee16185a0b33177c6b7b3c60733682cebee66d (diff) |
SL-15168 Reset title of guidebook when opening
Diffstat (limited to 'indra/newview/llfloaterhowto.cpp')
-rw-r--r-- | indra/newview/llfloaterhowto.cpp | 6 |
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()) { |