diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 13:23:04 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-05-11 13:23:04 +0300 |
commit | c8c06400a6627053897d69f127e8699f89e503f7 (patch) | |
tree | 353bff5ebb9a5e0e556e0241b89a4e154ef34616 | |
parent | 80eb5ae1f21df34aa043d1aadd99abe042cfd3ba (diff) |
SL-15245 Multiple guide books open, but cannot close them all
"how_to" floater is supposed to be single instance
-rw-r--r-- | indra/newview/llfloaterhowto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloaterhowto.h b/indra/newview/llfloaterhowto.h index 15fc43335a..fa1d9cace0 100644 --- a/indra/newview/llfloaterhowto.h +++ b/indra/newview/llfloaterhowto.h @@ -42,12 +42,14 @@ public: LLFloaterHowTo(const Params& key); - /*virtual*/ void onOpen(const LLSD& key); + void onOpen(const LLSD& key) override; static LLFloaterHowTo* getInstance(); + bool matchesKey(const LLSD& key) override { return true; /*single instance*/ }; + private: - /*virtual*/ BOOL postBuild(); + BOOL postBuild() override; }; #endif // LL_LLFLOATERHOWTO_H |