diff options
author | Oz Linden <oz@lindenlab.com> | 2013-03-26 11:32:31 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-03-26 11:32:31 -0400 |
commit | e917620069ce20c30c1abb53c5ece847ee76ddba (patch) | |
tree | 31e85be6bd0b0177ab56ae8dfeef1dfff15d19c5 /indra/llui/llfloaterreg.cpp | |
parent | 70ae613209bdc03f7ff45075e673e225447ec7a5 (diff) | |
parent | ef544a22218d59c6a121d4bf88c49868a2b9a713 (diff) |
merge changes for 3.5.0-beta5
Diffstat (limited to 'indra/llui/llfloaterreg.cpp')
-rw-r--r-- | indra/llui/llfloaterreg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp index c20d863612..1cdddf0d5b 100644 --- a/indra/llui/llfloaterreg.cpp +++ b/indra/llui/llfloaterreg.cpp @@ -488,12 +488,12 @@ void LLFloaterReg::toggleInstanceOrBringToFront(const LLSD& sdname, const LLSD& { host->setMinimized(FALSE); instance->openFloater(key); - instance->setVisibleAndFrontmost(); + instance->setVisibleAndFrontmost(true, key); } else if (!instance->getVisible()) { instance->openFloater(key); - instance->setVisibleAndFrontmost(); + instance->setVisibleAndFrontmost(true, key); instance->setFocus(TRUE); } else @@ -506,16 +506,16 @@ void LLFloaterReg::toggleInstanceOrBringToFront(const LLSD& sdname, const LLSD& if (instance->isMinimized()) { instance->setMinimized(FALSE); - instance->setVisibleAndFrontmost(); + instance->setVisibleAndFrontmost(true, key); } else if (!instance->isShown()) { instance->openFloater(key); - instance->setVisibleAndFrontmost(); + instance->setVisibleAndFrontmost(true, key); } else if (!instance->isFrontmost()) { - instance->setVisibleAndFrontmost(); + instance->setVisibleAndFrontmost(true, key); } else { |