diff options
author | Merov Linden <merov@lindenlab.com> | 2012-11-19 18:41:52 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-11-19 18:41:52 -0800 |
commit | 834ded33ae4926b59074f00c13fa3dbf228a3ba0 (patch) | |
tree | b8bc3bc57b6bf39a4abb1ceba5a3a4c9a96a945a /indra/newview/llinventoryfunctions.cpp | |
parent | 61f3c1b41ddedc16f2026c62600475105621b305 (diff) |
CHUI-470 : Fixed : Enable contextual menu in torn off conversations
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 1ae6fd91ce..1426567196 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -1068,7 +1068,7 @@ void LLInventoryAction::doToSelected(LLInventoryModel* model, LLFolderView* root if ("delete" == action) { LLSD args; - args["QUESTION"] = LLTrans::getString(root->getNumSelectedItems() > 1 ? "DeleteItems" : "DeleteItem"); + args["QUESTION"] = LLTrans::getString(root->getSelectedCount() > 1 ? "DeleteItems" : "DeleteItem"); LLNotificationsUtil::add("DeleteItems", args, LLSD(), boost::bind(&LLInventoryAction::onItemsRemovalConfirmation, _1, _2, root)); return; } |