diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 01:48:21 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 01:48:21 +0300 |
| commit | e886a5e34320c6448293dc05ac89a41b2b4a7f69 (patch) | |
| tree | aa6821369aa36ba852cc72e7ab4042cfa0944c36 /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()) { |
