Skip to content
Snippets Groups Projects
Commit c8c06400 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-15245 Multiple guide books open, but cannot close them all

"how_to" floater is supposed to be single instance
parent 80eb5ae1
No related branches found
No related tags found
No related merge requests found
...@@ -42,12 +42,14 @@ class LLFloaterHowTo : ...@@ -42,12 +42,14 @@ class LLFloaterHowTo :
LLFloaterHowTo(const Params& key); LLFloaterHowTo(const Params& key);
/*virtual*/ void onOpen(const LLSD& key); void onOpen(const LLSD& key) override;
static LLFloaterHowTo* getInstance(); static LLFloaterHowTo* getInstance();
bool matchesKey(const LLSD& key) override { return true; /*single instance*/ };
private: private:
/*virtual*/ BOOL postBuild(); BOOL postBuild() override;
}; };
#endif // LL_LLFLOATERHOWTO_H #endif // LL_LLFLOATERHOWTO_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment