From 23bd34a78163c31bc2a661acd15db63ed248af53 Mon Sep 17 00:00:00 2001
From: Igor Borovkov <iborovkov@productengine.com>
Date: Fri, 30 Apr 2010 16:50:36 +0300
Subject: additional fix for EXT-6732 Create specialized view of inventory for
 "clothing" accordion tab of outfit editor

"size_changes" == info["action"]
is always TRUE no matter what info["action"] maps to,
that should be rewritten to "size_changes" == info["action"].asString()

No review.

--HG--
branch : product-engine
---
 indra/newview/llcofwearables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'indra')

diff --git a/indra/newview/llcofwearables.h b/indra/newview/llcofwearables.h
index c256d2a05d..2d26bf781f 100644
--- a/indra/newview/llcofwearables.h
+++ b/indra/newview/llcofwearables.h
@@ -56,7 +56,7 @@ public:
 		LLView* parent = getParent();
 		if (!parent) return -1;
 		
-		if (!info.has("action") || "size_changes" != info["action"])
+		if (!(info.has("action") && "size_changes" == info["action"].asString()))
 		{
 			return parent->notifyParent(info);
 		}
-- 
cgit v1.2.3