From f303eeccf705f677e48c5738e5119352fd86b31d Mon Sep 17 00:00:00 2001
From: Seth ProductEngine <slitovchuk@productengine.com>
Date: Tue, 24 Jul 2012 22:47:35 +0300
Subject: [PATCH] CHUI-209 FIX for properly updating folder names in folder
 view after they have been renamed. The old display name should be cleared
 before refreshing the views for both items and folders in folder view,
 otherwise the old name will be used upon renaming.

---
 indra/newview/llinventorybridge.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h
index b4a91ca0f77..9997d1720f0 100644
--- a/indra/newview/llinventorybridge.h
+++ b/indra/newview/llinventorybridge.h
@@ -81,7 +81,7 @@ class LLInvFVBridge : public LLFolderViewModelItemInventory
 	// LLInvFVBridge functionality
 	//--------------------------------------------------------------------
 	virtual const LLUUID& getUUID() const { return mUUID; }
-	virtual void clearDisplayName() {}
+	virtual void clearDisplayName() { mDisplayName.clear(); }
 	virtual void restoreItem() {}
 	virtual void restoreToWorld() {}
 
@@ -229,8 +229,6 @@ class LLItemBridge : public LLInvFVBridge
 	virtual bool hasChildren() const { return FALSE; }
 	virtual BOOL isUpToDate() const { return TRUE; }
 
-	/*virtual*/ void clearDisplayName() { mDisplayName.clear(); }
-
 	LLViewerInventoryItem* getItem() const;
 
 protected:
-- 
GitLab