Add 'Save As...' back to snapshot floater.

This commit is contained in:
Aleric Inglewood
2011-05-14 01:34:27 +02:00
parent 41f13dbf46
commit 4c9d9d44a4
2 changed files with 2 additions and 1 deletions

View File

@@ -1404,7 +1404,7 @@ void LLFloaterSnapshot::Impl::onClickDiscard(void* data)
// static
void LLFloaterSnapshot::Impl::onCommitSave(LLUICtrl* ctrl, void* data)
{
if (ctrl->getValue().asString() == "save as")
if (ctrl->getValue().asString() == "saveas")
{
gViewerWindow->resetSnapshotLoc();
}

View File

@@ -32,6 +32,7 @@
list_position="below" mouse_opaque="true" name="save_btn" tool_tip="Save image to a file"
width="105">
<flyout_button_item value="save" name="save_item">Save</flyout_button_item>
<flyout_button_item value="saveas" name="saveas_item">Save As...</flyout_button_item>
</flyout_button>
<button bottom_delta="0" follows="left|top" height="20" label="Cancel" left="120"
name="discard_btn" width="85" />