summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-23 09:21:52 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-23 09:21:52 +0100
commitaf914e4ab666aad041aa17f6459d1ff834440b44 (patch)
tree48584ccb08b80d120ec53f3d1df16df55cd9480b /indra/newview/llfloatermap.cpp
parent11ec720a063b73fc042e8b06338b9526835dbb6b (diff)
parente02b51f125f876cfef10f504a121693b3612155a (diff)
merge from PE's viewer-release
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r--indra/newview/llfloatermap.cpp13
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("");
+ }
+}