diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-07-18 07:38:36 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-07-18 14:07:01 +0300 |
commit | ace506cc8aec370b739b40ab2afa7c1fef4cc030 (patch) | |
tree | 0de895a9769f9d4ab735ef3c8d158940a8dea99b /indra/newview/llfloatersidepanelcontainer.h | |
parent | 87b5ecf565e78ca49b2c90478eb2c26d537e4831 (diff) |
viewer#1997 Warn user if closing appearance with unsaved changes
Diffstat (limited to 'indra/newview/llfloatersidepanelcontainer.h')
-rw-r--r-- | indra/newview/llfloatersidepanelcontainer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llfloatersidepanelcontainer.h b/indra/newview/llfloatersidepanelcontainer.h index 19d6c747cb..d7f6c309c4 100644 --- a/indra/newview/llfloatersidepanelcontainer.h +++ b/indra/newview/llfloatersidepanelcontainer.h @@ -49,9 +49,11 @@ public: LLFloaterSidePanelContainer(const LLSD& key, const Params& params = getDefaultParams()); ~LLFloaterSidePanelContainer(); - /*virtual*/ void onOpen(const LLSD& key); + void onOpen(const LLSD& key) override; - /*virtual*/ void closeFloater(bool app_quitting = false); + void closeFloater(bool app_quitting = false) override; + + void onClickCloseBtn(bool app_qutting) override; void cleanup() { destroy(); } @@ -84,6 +86,9 @@ public: } return panel; } + +protected: + void onCloseMsgCallback(const LLSD& notification, const LLSD& response); }; #endif // LL_LLFLOATERSIDEPANELCONTAINER_H |