STORM-1688 FIXED The camera icon next to the "refresh snapshot" button is now always visible.

meow-7.2.2
Vadim ProductEngine 2011-11-07 16:12:33 +02:00
parent 3b3b6c38a4
commit 7cd7875a17
2 changed files with 4 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -84,7 +84,6 @@
mouse_opaque="true"
name="refresh_icon"
top_delta="3"
visible="false"
width="36" />
<button
follows="left|top"