Hide temp upload on SL
This commit is contained in:
@@ -97,7 +97,8 @@ BOOL LLFloaterImagePreview::postBuild()
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
childSetLabelArg("ok_btn", "[UPLOADFEE]", gHippoGridManager->getConnectedGrid()->formatFee(LLAgentBenefitsMgr::current().getTextureUploadCost()));
|
||||
auto& grid = *gHippoGridManager->getConnectedGrid();
|
||||
childSetLabelArg("ok_btn", "[UPLOADFEE]", grid.formatFee(LLAgentBenefitsMgr::current().getTextureUploadCost()));
|
||||
|
||||
LLCtrlSelectionInterface* iface = childGetSelectionInterface("clothing_type_combo");
|
||||
if (iface)
|
||||
@@ -127,7 +128,11 @@ BOOL LLFloaterImagePreview::postBuild()
|
||||
|
||||
// <edit>
|
||||
gSavedSettings.setBOOL("TemporaryUpload",FALSE);
|
||||
childSetValue("temp_check",FALSE);
|
||||
auto child = getChildView("temp_check");
|
||||
if (grid.isSecondLife())
|
||||
child->setVisible(false);
|
||||
else
|
||||
child->setValue(false);
|
||||
// </edit>
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user