diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-22 15:47:36 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-22 15:47:36 +0300 |
commit | 0d099b4f08a61610dc5f7131c6b7f0f8d0de5487 (patch) | |
tree | 65f0c265e91137a1bcd3148044b51ea2523c9665 /indra/newview/llfloatermap.cpp | |
parent | b14e19c1ac1f329d75769ba8a9307608365ca06e (diff) |
EXT-7882 FIX Set caption when floater minimized and remove when maximized.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/624/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r-- | indra/newview/llfloatermap.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp index e74bfae026..df176a1f6d 100644 --- a/indra/newview/llfloatermap.cpp +++ b/indra/newview/llfloatermap.cpp @@ -284,4 +284,15 @@ void LLFloaterMap::handleStopTracking (const LLSD& userdata) LLTracker::stopTracking ((void*)LLTracker::isTracking(NULL)); } } - +void LLFloaterMap::setMinimized(BOOL b) +{ + LLFloater::setMinimized(b); + if(b) + { + setTitle(getString("mini_map_caption")); + } + else + { + setTitle(""); + } +} |