summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-11-07 16:12:33 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-11-07 16:12:33 +0200
commit7cd7875a17fdecf671b6a53fd6b78787d52d8655 (patch)
tree6f8c8886e3f74702d28dc1fa2b12c307e8ab9c39 /indra/newview/llfloatersnapshot.cpp
parent3b3b6c38a4afe3a061c54cc9fa9f8d7c65dcb990 (diff)
STORM-1688 FIXED The camera icon next to the "refresh snapshot" button is now always visible.
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);
}
}