summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index d25275f66b..4091b2e7bb 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -2451,7 +2451,8 @@ void LLFloaterSnapshot::preUpdate()
LLFloaterSnapshot* instance = LLFloaterReg::findTypedInstance<LLFloaterSnapshot>("snapshot");
if (instance)
{
- instance->getChildView("refresh_icon")->setVisible(TRUE); // indicate refresh
+ // Disable the send/post/save buttons until snapshot is ready.
+ Impl::updateControls(instance);
}
}
@@ -2462,7 +2463,8 @@ void LLFloaterSnapshot::postUpdate()
LLFloaterSnapshot* instance = LLFloaterReg::findTypedInstance<LLFloaterSnapshot>("snapshot");
if (instance)
{
- instance->getChildView("refresh_icon")->setVisible(FALSE);
+ // Enable the send/post/save buttons.
+ Impl::updateControls(instance);
}
}