summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-30 22:08:51 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-30 22:08:58 +0300
commitcaa21f9054c51eea6557c9f0d080d91e43e44018 (patch)
tree9babf31256c96859028dcf3235d4e5602af087be /indra
parent5c55adae47cab93a12793528373f639ea9e8efcf (diff)
SL-19748 Thumbnail to clipboard not working
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterchangeitemthumbnail.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.cpp b/indra/newview/llfloaterchangeitemthumbnail.cpp
index 1ac6ee72bf..c3392889fb 100644
--- a/indra/newview/llfloaterchangeitemthumbnail.cpp
+++ b/indra/newview/llfloaterchangeitemthumbnail.cpp
@@ -468,6 +468,7 @@ void LLFloaterChangeItemThumbnail::onCopyToClipboard(void *userdata)
LLInventoryObject* obj = self->getInventoryObject();
if (obj)
{
+ LLClipboard::instance().reset();
LLClipboard::instance().addToClipboard(obj->getThumbnailUUID(), LLAssetType::AT_NONE);
self->mPasteFromClipboardBtn->setEnabled(true);
}