summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-21 11:32:15 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-21 11:32:15 +0100
commitb95aef17ff696f94404ab507bd817f9a15d254cc (patch)
tree9f64128e7696c618899f81050ba6f0ae9c75e94f /indra/newview/llviewermessage.cpp
parentdb73037c2882af70a09ac768ddb3748d811c767a (diff)
parent3d313630009366261ab99527fdd6eb7bb5eb5d3c (diff)
merge from viewer-trunk
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 1fcbbd7fd4..bc4e20d706 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -794,7 +794,10 @@ private:
// Store selected items (without destination folder)
mSelectedItems.clear();
- mActivePanel->getRootFolder()->getSelectionList(mSelectedItems);
+ if (mActivePanel)
+ {
+ mActivePanel->getRootFolder()->getSelectionList(mSelectedItems);
+ }
mSelectedItems.erase(mMoveIntoFolderID);
}
@@ -1799,7 +1802,7 @@ void inventory_offer_handler(LLOfferInfo* info)
payload["give_inventory_notification"] = TRUE;
LLNotification::Params params(p.name);
params.substitutions = p.substitutions;
- params.payload = p.payload;
+ params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, info->mFromID, false);
}
}