STORM-1688 FIXED The camera icon next to the "refresh snapshot" button is now always visible.
parent
3b3b6c38a4
commit
7cd7875a17
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@
|
|||
mouse_opaque="true"
|
||||
name="refresh_icon"
|
||||
top_delta="3"
|
||||
visible="false"
|
||||
width="36" />
|
||||
<button
|
||||
follows="left|top"
|
||||
|
|
|
|||
Loading…
Reference in New Issue