diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-02 19:05:13 +0200 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-02 19:05:13 +0200 |
commit | 65e144d9fec4bb441050e73136ed95b48e6e363c (patch) | |
tree | ac6013dab8dd7921707d3148528566b5bb4723a7 /indra/newview/llsidetraypanelcontainer.cpp | |
parent | 8f47f2222c207938c8fc55158a6fff64ccf1e781 (diff) |
STORM-1580 WIP Initial commit for PO review.
Diffstat (limited to 'indra/newview/llsidetraypanelcontainer.cpp')
-rw-r--r-- | indra/newview/llsidetraypanelcontainer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llsidetraypanelcontainer.cpp b/indra/newview/llsidetraypanelcontainer.cpp index 95a12c7c23..e340333c2c 100644 --- a/indra/newview/llsidetraypanelcontainer.cpp +++ b/indra/newview/llsidetraypanelcontainer.cpp @@ -62,6 +62,13 @@ void LLSideTrayPanelContainer::onOpen(const LLSD& key) getCurrentPanel()->onOpen(key); } +void LLSideTrayPanelContainer::openPanel(const std::string& panel_name, const LLSD& key) +{ + LLSD combined_key = key; + combined_key[PARAM_SUB_PANEL_NAME] = panel_name; + onOpen(combined_key); +} + void LLSideTrayPanelContainer::openPreviousPanel() { if(!mDefaultPanelName.empty()) |