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
parent
0a28a63ce0
commit
f303eeccf7
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue