summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-10-07 15:58:20 -0700
committerMerov Linden <merov@lindenlab.com>2010-10-07 15:58:20 -0700
commitc8cd7ef7a4da4482b776c37201b158a443dd737a (patch)
tree521c6dc7af632dc9df64a69c18997eb091d68f20 /indra/newview/llfloatermap.cpp
parentd1ad7a56beee603b336600d4aace1e4d4c0f5ade (diff)
parentd25a30e55b7e6a20173c3a53891489adc5610d72 (diff)
Pull update from viewer-development
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r--indra/newview/llfloatermap.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp
index 4a324773e9..a1d291fea6 100644
--- a/indra/newview/llfloatermap.cpp
+++ b/indra/newview/llfloatermap.cpp
@@ -124,7 +124,9 @@ BOOL LLFloaterMap::postBuild()
BOOL LLFloaterMap::handleDoubleClick( S32 x, S32 y, MASK mask )
{
- LLFloaterReg::showInstance("world_map");
+ // If floater is minimized, minimap should be shown on doubleclick (STORM-299)
+ std::string floater_to_show = this->isMinimized() ? "mini_map" : "world_map";
+ LLFloaterReg::showInstance(floater_to_show);
return TRUE;
}