From 7cd7875a17fdecf671b6a53fd6b78787d52d8655 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Mon, 7 Nov 2011 16:12:33 +0200 Subject: STORM-1688 FIXED The camera icon next to the "refresh snapshot" button is now always visible. --- indra/newview/llfloatersnapshot.cpp | 6 ++++-- indra/newview/skins/default/xui/en/floater_snapshot.xml | 1 - 2 files changed, 4 insertions(+), 3 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("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("snapshot"); if (instance) { - instance->getChildView("refresh_icon")->setVisible(FALSE); + // Enable the send/post/save buttons. + Impl::updateControls(instance); } } diff --git a/indra/newview/skins/default/xui/en/floater_snapshot.xml b/indra/newview/skins/default/xui/en/floater_snapshot.xml index 9719ee464e..d7a1510c1c 100644 --- a/indra/newview/skins/default/xui/en/floater_snapshot.xml +++ b/indra/newview/skins/default/xui/en/floater_snapshot.xml @@ -84,7 +84,6 @@ mouse_opaque="true" name="refresh_icon" top_delta="3" - visible="false" width="36" />