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

"how_to" floater is supposed to be single instance
master
Andrey Kleshchev 2021-05-11 13:23:04 +03:00
parent 80eb5ae1f2
commit c8c06400a6
1 changed files with 4 additions and 2 deletions

View File

@ -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