From ca37970a3aa04a3080e80d33036a127802a18450 Mon Sep 17 00:00:00 2001 From: Paul ProductEngine Date: Fri, 3 Feb 2012 08:49:14 +0200 Subject: EXP-1840 FIXED (When two inventory windows are open and "properties" are viewed, one window suddenly moves in front of the other window) - Modified method LLFloaterSidePanelContainer::openChildPanel so that it doesn't open floater each time it's called. Otherwise each time opening child panel of already opened floater, openFloater() will reposition the floater. --- indra/newview/llfloatersidepanelcontainer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloatersidepanelcontainer.cpp b/indra/newview/llfloatersidepanelcontainer.cpp index be7a53491d..5385977d95 100644 --- a/indra/newview/llfloatersidepanelcontainer.cpp +++ b/indra/newview/llfloatersidepanelcontainer.cpp @@ -59,7 +59,10 @@ LLPanel* LLFloaterSidePanelContainer::openChildPanel(const std::string& panel_na LLView* view = findChildView(panel_name, true); if (!view) return NULL; - openFloater(); + if (!getVisible()) + { + openFloater(); + } LLPanel* panel = NULL; -- cgit v1.2.3