aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llassetuploadresponders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llassetuploadresponders.cpp')
-rw-r--r--linden/indra/newview/llassetuploadresponders.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llassetuploadresponders.cpp b/linden/indra/newview/llassetuploadresponders.cpp
index 4fca9b1..571dea9 100644
--- a/linden/indra/newview/llassetuploadresponders.cpp
+++ b/linden/indra/newview/llassetuploadresponders.cpp
@@ -524,7 +524,6 @@ void LLUpdateTaskInventoryResponder::uploadComplete(const LLSD& content)
524 { 524 {
525 case LLAssetType::AT_NOTECARD: 525 case LLAssetType::AT_NOTECARD:
526 { 526 {
527
528 // Update the UI with the new asset. 527 // Update the UI with the new asset.
529 LLPreviewNotecard* nc; 528 LLPreviewNotecard* nc;
530 nc = (LLPreviewNotecard*)LLPreview::find(item_id); 529 nc = (LLPreviewNotecard*)LLPreview::find(item_id);
@@ -542,7 +541,7 @@ void LLUpdateTaskInventoryResponder::uploadComplete(const LLSD& content)
542 content["new_asset"].asUUID(), 541 content["new_asset"].asUUID(),
543 LLAssetType::AT_NOTECARD); 542 LLAssetType::AT_NOTECARD);
544 } 543 }
545 544 nc->setAssetId(content["new_asset"].asUUID());
546 nc->refreshFromInventory(); 545 nc->refreshFromInventory();
547 } 546 }
548 } 547 }