summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-12-03 11:18:59 -0500
committerLoren Shih <seraph@lindenlab.com>2009-12-03 11:18:59 -0500
commit2adf9d6b0490f7692998f0ed73c981238d5860fe (patch)
treee9971d2fa83f962c7196badbc5a6d51ab3db0c7d /indra/newview/llinventorypanel.h
parent99179a0195db1b434dced9b26f3f8b97b773c073 (diff)
EXT-2410 : Accepting an offered notecard should open the inventorySP
Preliminary checkin to improve this infrastructure. --HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llinventorypanel.h')
-rw-r--r--indra/newview/llinventorypanel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.h b/indra/newview/llinventorypanel.h
index d65fe53812..02e6041a38 100644
--- a/indra/newview/llinventorypanel.h
+++ b/indra/newview/llinventorypanel.h
@@ -163,7 +163,8 @@ public:
static void onIdle(void* user_data);
// Find whichever inventory panel is active / on top.
- static LLInventoryPanel *getActiveInventoryPanel();
+ // "Auto_open" determines if we open an inventory panel if none are open.
+ static LLInventoryPanel *getActiveInventoryPanel(BOOL auto_open = TRUE);
protected:
void defaultOpenInventory(); // open the first level of inventory