summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-04-26 18:21:55 +0300
committerandreykproductengine <akleshchev@productengine.com>2016-04-26 18:21:55 +0300
commit8d9f1ca337bc566511e9f65f82228235857903a8 (patch)
tree5648b723bbacb16480d666e1581751063cf0be7e /indra
parentc1a56f9fb784b1f64ddae45c6dd5bb9f5ae6eecd (diff)
MAINT-2022 FIXED "Copy" perform the same operation like "Copy UUID" in Gestures panel
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloatergesture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp
index 7da65a9a7c..d842106146 100755
--- a/indra/newview/llfloatergesture.cpp
+++ b/indra/newview/llfloatergesture.cpp
@@ -528,7 +528,8 @@ void LLFloaterGesture::onCopyPasteAction(const LLSD& command)
LLInventoryItem* item = gInventory.getItem(*it);
if(item && item->getInventoryType() == LLInventoryType::IT_GESTURE)
{
- LLClipboard::instance().addToClipboard(item->getUUID(),LLAssetType::AT_GESTURE);
+ LLWString item_name = utf8str_to_wstring(item->getName());
+ LLClipboard::instance().addToClipboard(item_name, 0, item_name.size());
}
}
}