diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-12-03 14:06:08 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-12-03 14:06:08 -0500 |
commit | e23d51700733e98f966c540602038686cba98d4e (patch) | |
tree | 3304bdf4248679d23598a36f0d66bce7a5f93ae7 /indra/newview/llsidepanelinventory.cpp | |
parent | bd4ad607ba9015c97a013d734b1fa597924c0e07 (diff) |
EXT-2410 : Accepting an offered notecard should open the inventorySP
Added logic to choose the side panel if it's open, or open the side panel if no other inventory panels are open.
--HG--
branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llsidepanelinventory.cpp')
-rw-r--r-- | indra/newview/llsidepanelinventory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp index 5f27a21bb5..ca7a3b663a 100644 --- a/indra/newview/llsidepanelinventory.cpp +++ b/indra/newview/llsidepanelinventory.cpp @@ -286,3 +286,8 @@ LLInventoryPanel *LLSidepanelInventory::getActivePanel() } return NULL; } + +BOOL LLSidepanelInventory::isMainInventoryPanelActive() const +{ + return mInventoryPanel->getVisible(); +} |