summaryrefslogtreecommitdiff
path: root/indra/newview/llassetuploadresponders.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-11-18 16:32:23 -0500
committerOz Linden <oz@lindenlab.com>2011-11-18 16:32:23 -0500
commitd145cbf37100d50ac6fc15c6009cb496615ed7fb (patch)
treede664b77132c7c0408b103766501ce86b66a83f2 /indra/newview/llassetuploadresponders.cpp
parenteee556cfbb1bdd0bf35568632a96ce9f18d27262 (diff)
parent0c36f481f13493801788ef233b96a2bfe5a44060 (diff)
pull back 3.2.2 beta 2 fixes
Diffstat (limited to 'indra/newview/llassetuploadresponders.cpp')
-rw-r--r--indra/newview/llassetuploadresponders.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llassetuploadresponders.cpp b/indra/newview/llassetuploadresponders.cpp
index 40a4d665f8..65bfc990d1 100644
--- a/indra/newview/llassetuploadresponders.cpp
+++ b/indra/newview/llassetuploadresponders.cpp
@@ -295,6 +295,11 @@ void LLAssetUploadResponder::uploadFailure(const LLSD& content)
{
// remove the "Uploading..." message
LLUploadDialog::modalUploadFinished();
+ LLFloater* floater_snapshot = LLFloaterReg::findInstance("snapshot");
+ if (floater_snapshot)
+ {
+ floater_snapshot->notify(LLSD().with("set-finished", LLSD().with("ok", false).with("msg", "inventory")));
+ }
std::string reason = content["state"];
// deal with L$ errors