diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 1e0b1874f79b1e393a012ceb35db992b3cf9da1d..fb99ffef09c056b3973e1443b480cf1de956bc8a 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -307,7 +307,7 @@ BOOL	LLPanelFace::postBuild()
     mBtnCopyFaces = getChild<LLButton>("copy_face_btn");
     if(mBtnCopyFaces)
     {
-        BtnCopyFaces->setCommitCallback(boost::bind(&LLPanelFace::onCopyFaces, this));
+        mBtnCopyFaces->setCommitCallback(boost::bind(&LLPanelFace::onCopyFaces, this));
     }
     mBtnPasteFaces = getChild<LLButton>("paste_face_btn");
     if (mBtnPasteFaces)