From 03d0c6d35c7a81fbedeb724f60a63611fd4b464f Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Thu, 20 Oct 2011 17:33:09 -0700
Subject: [PATCH] EXP-1431 FIX Default positions for floaters follows
 additional open Inventory windows

---
 indra/llui/llfloater.cpp | 3 ++-
 indra/llui/llfloater.h   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index ddc90b03789..7100ea13a7e 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -880,7 +880,7 @@ bool LLFloater::applyRectControl()
 	{
 		// other floaters in our group, position ourselves relative to them and don't save the rect
 		mRectControl.clear();
-		mOpenPositioning = LLFloaterEnums::OPEN_POSITIONING_CASCADING;
+		mOpenPositioning = LLFloaterEnums::OPEN_POSITIONING_CASCADE_GROUP;
 	}
 	else if (mRectControl.size() > 1)
 	{
@@ -933,6 +933,7 @@ void LLFloater::applyPositioning(LLFloater* other)
 		}
 		break;
 
+	case LLFloaterEnums::OPEN_POSITIONING_CASCADE_GROUP:
 	case LLFloaterEnums::OPEN_POSITIONING_CASCADING:
 		if (other != NULL)
 		{
diff --git a/indra/llui/llfloater.h b/indra/llui/llfloater.h
index f384e64e536..73e9c9e8310 100644
--- a/indra/llui/llfloater.h
+++ b/indra/llui/llfloater.h
@@ -66,9 +66,9 @@ namespace LLFloaterEnums
 	{
 		OPEN_POSITIONING_NONE,
 		OPEN_POSITIONING_CASCADING,
+		OPEN_POSITIONING_CASCADE_GROUP,
 		OPEN_POSITIONING_CENTERED,
 		OPEN_POSITIONING_SPECIFIED,
-
 		OPEN_POSITIONING_COUNT
 	};
 }
-- 
GitLab