diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-02-16 23:50:28 +0200 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-02-16 23:50:28 +0200 |
commit | 09ffc1e0311bc143601b50cff6f65fe914e855bd (patch) | |
tree | 0453bb91324b084160f8a61fedf37e45f21018b2 | |
parent | a0cab8fde8f9cfe8dacf8e8f7b40f28e76774526 (diff) |
Fixed low bug (EXT-5457) Old tooltip is shown for just renamed landmark.
- Added setting new tooltips after inventory panel item renaming.
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index ca9b942629..048ed10886 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -290,8 +290,12 @@ void LLInventoryPanel::modelChanged(U32 mask) if(bridge) { // Clear the display name first, so it gets properly re-built during refresh() bridge->clearDisplayName(); + + view_item->refresh(); + + // Set the new tooltip with the new display name. + view_item->setToolTip(bridge->getDisplayName()); } - view_item->refresh(); } } |