summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-02-16 23:50:28 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-02-16 23:50:28 +0200
commit09ffc1e0311bc143601b50cff6f65fe914e855bd (patch)
tree0453bb91324b084160f8a61fedf37e45f21018b2
parenta0cab8fde8f9cfe8dacf8e8f7b40f28e76774526 (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.cpp6
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();
}
}