diff options
author | Oz Linden <oz@lindenlab.com> | 2012-02-09 11:54:02 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-02-09 11:54:02 -0500 |
commit | cb6fe4b4e9bfdec62bd1c1669838c9f344efe253 (patch) | |
tree | 2d1f23027914b691b44af25589a5d41c17cef66f /indra/newview/llfloaternamedesc.cpp | |
parent | e836d90ebb8d84f84c12f2ff9070fcf796aaa2cd (diff) | |
parent | 449d2b106fd18bfb6f0e516eaedd395de18c7608 (diff) |
merge changes for storm-1803
Diffstat (limited to 'indra/newview/llfloaternamedesc.cpp')
-rw-r--r-- | indra/newview/llfloaternamedesc.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/llfloaternamedesc.cpp b/indra/newview/llfloaternamedesc.cpp index 66f0fc3cd7..27b1c3b9cd 100644 --- a/indra/newview/llfloaternamedesc.cpp +++ b/indra/newview/llfloaternamedesc.cpp @@ -207,6 +207,25 @@ BOOL LLFloaterSoundPreview::postBuild() //----------------------------------------------------------------------------- +// LLFloaterAnimPreview() +//----------------------------------------------------------------------------- + +LLFloaterAnimPreview::LLFloaterAnimPreview(const LLSD& filename ) + : LLFloaterNameDesc(filename) +{ +} + +BOOL LLFloaterAnimPreview::postBuild() +{ + if (!LLFloaterNameDesc::postBuild()) + { + return FALSE; + } + getChild<LLUICtrl>("ok_btn")->setCommitCallback(boost::bind(&LLFloaterNameDesc::onBtnOK, this)); + return TRUE; +} + +//----------------------------------------------------------------------------- // LLFloaterScriptPreview() //----------------------------------------------------------------------------- |