summaryrefslogtreecommitdiff
path: root/indra/newview/llsidetray.h
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2009-12-07 20:31:45 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2009-12-07 20:31:45 +0200
commit86c686e962a6fb7e282a0652eaff2b107c48a02d (patch)
treebc893fbb7a19a910e3716cbb5e6f5abcced489e4 /indra/newview/llsidetray.h
parentda8de2b6742cad3fadad84c9f0640b69a9690f66 (diff)
Fix for major bug EXT-3135 "Crash after dragging LM from 'Inventory' accordion to fav bar".
- Added method to get currently active tab in sidetray. - Disabled opening sidetray inventory panel upon receiving new inventory item or after drag-n-drop operations with landmarks in sidetray places panel. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llsidetray.h')
-rw-r--r--indra/newview/llsidetray.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llsidetray.h b/indra/newview/llsidetray.h
index 7321574681..c90b2d7f8c 100644
--- a/indra/newview/llsidetray.h
+++ b/indra/newview/llsidetray.h
@@ -102,6 +102,11 @@ public:
LLPanel* getPanel (const std::string& panel_name);
/*
+ * get currently active tab
+ */
+ const LLSideTrayTab* getActiveTab() const { return mActiveTab; }
+
+ /*
* collapse SideBar, hiding visible tab and moving tab buttons
* to the right corner of the screen
*/