summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-06-22 15:34:45 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-06-22 15:34:45 +0300
commit089743ac0d12132dc878b4740415223aae81fb4f (patch)
tree88ebde065cb447ac6d5359220b486ed004848d6e /indra/newview
parent537585a75e01adcf68538b83f1dc12d05e56bb54 (diff)
SL-15425 FIXED 'Copy' menu item is not working properly in Gestures floater
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatergesture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp
index c4e0dd483f..6e326ff3cf 100644
--- a/indra/newview/llfloatergesture.cpp
+++ b/indra/newview/llfloatergesture.cpp
@@ -582,8 +582,7 @@ void LLFloaterGesture::onCopyPasteAction(const LLSD& command)
LLInventoryItem* item = gInventory.getItem(*it);
if(item && item->getInventoryType() == LLInventoryType::IT_GESTURE)
{
- LLWString item_name = utf8str_to_wstring(item->getName());
- LLClipboard::instance().addToClipboard(item_name, 0, item_name.size());
+ LLClipboard::instance().addToClipboard(*it);
}
}
}