diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-28 11:32:05 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-28 11:32:05 -0400 |
commit | 3d5a8cc2e3becd92c83fb87d65dfbe802738edde (patch) | |
tree | 62f8c2b244d5f3779145d53288895dd6f3af1ccf /indra/llui/llfloater.cpp | |
parent | 68e2813b41d676fd6ab5d79e934ac6ff75fb8a5b (diff) | |
parent | 7617868658fec7fa70730a3448f8cfbe7661dd8e (diff) |
merge late fix for SOCIAL-778 into 2.6.1 for release
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r-- | indra/llui/llfloater.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 35e0d9d890..d19e33ea55 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -2869,7 +2869,7 @@ void LLFloater::initFromParams(const LLFloater::Params& p) // close callback if (p.close_callback.isProvided()) { - mCloseSignal.connect(initCommitCallback(p.close_callback)); + setCloseCallback(initCommitCallback(p.close_callback)); } } @@ -2879,6 +2879,11 @@ boost::signals2::connection LLFloater::setMinimizeCallback( const commit_signal_ return mMinimizeSignal->connect(cb); } +boost::signals2::connection LLFloater::setCloseCallback( const commit_signal_t::slot_type& cb ) +{ + return mCloseSignal.connect(cb); +} + LLFastTimer::DeclareTimer POST_BUILD("Floater Post Build"); bool LLFloater::initFloaterXML(LLXMLNodePtr node, LLView *parent, const std::string& filename, LLXMLNodePtr output_node) |