summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterreporter.cpp')
-rw-r--r--indra/newview/llfloaterreporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterreporter.cpp b/indra/newview/llfloaterreporter.cpp
index 2da9ed4e14..63d7d7b958 100644
--- a/indra/newview/llfloaterreporter.cpp
+++ b/indra/newview/llfloaterreporter.cpp
@@ -903,7 +903,7 @@ void LLFloaterReporter::takeScreenshot()
gImageList.addImage(image_in_list);
// the texture picker then uses that texture
- LLTexturePicker* texture = LLUICtrlFactory::getTexturePickerByName(this, "screenshot");
+ LLTexturePicker* texture = getChild<LLTextureCtrl>("screenshot");
if (texture)
{
texture->setImageAssetID(mResourceDatap->mAssetInfo.mUuid);