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.
meow-7.2.2
Seth ProductEngine 2012-07-24 22:47:35 +03:00
parent 0a28a63ce0
commit f303eeccf7
1 changed files with 1 additions and 3 deletions

View File

@ -81,7 +81,7 @@ public:
// 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 @@ public:
virtual bool hasChildren() const { return FALSE; }
virtual BOOL isUpToDate() const { return TRUE; }
/*virtual*/ void clearDisplayName() { mDisplayName.clear(); }
LLViewerInventoryItem* getItem() const;
protected: