summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewtexture.cpp
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-09 20:24:37 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-09 20:24:37 -0500
commit272bb744af3dd942369f4c378db316e182a1ab87 (patch)
treef37089aa216f821b132d46a2a9a1d4a2219508e7 /indra/newview/llpreviewtexture.cpp
parent6e95fbd3c30cb98ea1b64f1976aef0e681a6fe80 (diff)
Fix for save texture functionality no longer respecting permissions
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
-rw-r--r--indra/newview/llpreviewtexture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp
index 8fa147f201..86475fe2dc 100644
--- a/indra/newview/llpreviewtexture.cpp
+++ b/indra/newview/llpreviewtexture.cpp
@@ -146,6 +146,7 @@ BOOL LLPreviewTexture::postBuild()
}
childSetAction("save_tex_btn", LLPreviewTexture::onSaveAsBtn, this);
+ childSetVisible("save_tex_btn", canSaveAs());
if (!mCopyToInv)
{