diff options
author | richard <none@none> | 2009-12-07 13:46:30 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-07 13:46:30 -0800 |
commit | a162a8de977de373b451b93b0ce3617cdbe59a39 (patch) | |
tree | 3ca00252d0a9518b2e655399f91765065e933261 /indra/newview/llsidepanelinventory.cpp | |
parent | 1d2a8e0f83ab85d0a907b66b55af12ea41891f65 (diff) | |
parent | 13c998c34ac2c1f134b4c6998413753f94e1a002 (diff) |
merge
Diffstat (limited to 'indra/newview/llsidepanelinventory.cpp')
-rw-r--r-- | indra/newview/llsidepanelinventory.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp index 9ab459080e..ca7a3b663a 100644 --- a/indra/newview/llsidepanelinventory.cpp +++ b/indra/newview/llsidepanelinventory.cpp @@ -128,10 +128,6 @@ void LLSidepanelInventory::onOpen(const LLSD& key) mTaskPanel->setObjectSelection(LLSelectMgr::getInstance()->getSelection()); showTaskInfoPanel(); } - if (key.has("select")) - { - mPanelMainInventory->getPanel()->setSelection(key["select"].asUUID(), TAKE_FOCUS_NO); - } } void LLSidepanelInventory::onInfoButtonClicked() @@ -290,3 +286,8 @@ LLInventoryPanel *LLSidepanelInventory::getActivePanel() } return NULL; } + +BOOL LLSidepanelInventory::isMainInventoryPanelActive() const +{ + return mInventoryPanel->getVisible(); +} |