diff options
author | Debi King (Dessie) <dessie@lindenlab.com> | 2011-04-07 17:36:17 -0400 |
---|---|---|
committer | Debi King (Dessie) <dessie@lindenlab.com> | 2011-04-07 17:36:17 -0400 |
commit | e5055178db894eb79ce9f438338da04e5b4c2d7e (patch) | |
tree | fa445e94beb32566cecfd50af3a139f221145558 /indra/llui/llfloater.cpp | |
parent | 2c5b7cf2f7528a7502f4fe3f9c6dec9217f8ae60 (diff) | |
parent | 1a2cc89cc59d92e768e109a1a822bfedfd9aaf01 (diff) |
Merged .hgtags from viewer-pre-release repo
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) |