summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-11 13:23:04 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-11 13:23:04 +0300
commitc8c06400a6627053897d69f127e8699f89e503f7 (patch)
tree353bff5ebb9a5e0e556e0241b89a4e154ef34616 /indra
parent80eb5ae1f21df34aa043d1aadd99abe042cfd3ba (diff)
SL-15245 Multiple guide books open, but cannot close them all
"how_to" floater is supposed to be single instance
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterhowto.h6
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