diff options
author | Oz Linden <oz@lindenlab.com> | 2012-03-09 12:55:20 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-03-09 12:55:20 -0500 |
commit | a7aa89e2cb98c28be7b20bcae6dc1cb47f4d56c1 (patch) | |
tree | 1f7a629558c2edce2915cc6419284099f176708e /indra/newview/llfloaternamedesc.cpp | |
parent | f712614d7bfb132cf0d4bc5ff5e2e02ea73a9bda (diff) | |
parent | 381d5829db58412dca9abe30137f1e3796420b72 (diff) |
merge changes for vmrg-226
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() //----------------------------------------------------------------------------- |