STORM-299 : merge

meow-7.2.2
Merov Linden 2010-10-06 22:21:24 -07:00
commit ac76af0e2d
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}