summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-02-17 14:42:12 -0800
committerMerov Linden <merov@lindenlab.com>2012-02-17 14:42:12 -0800
commitbb6ace0672fa5e1c47c534ba74396ef04daa408b (patch)
tree701f16864159f3777c29f27049b33066da2e8e3d /indra/newview/llinventorybridge.cpp
parent6363145f4556f3213f943637866445fae407593a (diff)
EXP-1902, EXP-1903 : Move items cut to the trash when clipboard reset.
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index eb0f9803b0..54d195a2e6 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -213,7 +213,7 @@ BOOL LLInvFVBridge::cutToClipboard() const
const LLInventoryObject* obj = gInventory.getObject(mUUID);
if (obj && isItemMovable() && isItemRemovable())
{
- LLClipboard::getInstance()->setCutMode(true);
+ LLClipboard::getInstance()->setCutMode(true, boost::bind(LLFolderView::removeCutItems));
return LLClipboard::getInstance()->addToClipboard(mUUID,obj->getType());
}
return FALSE;