diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2012-07-24 22:47:35 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2012-07-24 22:47:35 +0300 |
commit | f303eeccf705f677e48c5738e5119352fd86b31d (patch) | |
tree | 45bbc16d651de25da5a0ffd4220c1a1b3ab4edea | |
parent | 0a28a63ce05755d22b09badc41bdd23d5baab1bb (diff) |
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.
-rw-r--r-- | indra/newview/llinventorybridge.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index b4a91ca0f7..9997d1720f 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -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: |