summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-03-16 19:22:17 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-03-16 19:22:17 +0200
commit27a7a68883ab93a41df815684b74631a5dca0a73 (patch)
tree94008a217d1a40f50a27470294feab96051573e8
parenta5d1a7b1bac43a4aa88aa647b040a21ca951c682 (diff)
Fix for normal task (EXT-6355) [TRANSLATED BUT IN EN] - Inventory, hovertext of system folders: hovertext isnĀ“t localized.
- Added updating tooltips with localized names. Reviewed by Vadim Savchuk https://codereview.productengine.com/secondlife/r/39/ --HG-- branch : product-engine
-rw-r--r--indra/newview/llfolderviewitem.cpp1
-rw-r--r--indra/newview/llinventorypanel.cpp3
2 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp
index d3e3d2b57b..72e34594db 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -260,6 +260,7 @@ void LLFolderViewItem::refreshFromListener()
LLTrans::findString(mLabel, "InvFolder " + mLabel);
};
+ setToolTip(mLabel);
setIcon(mListener->getIcon());
time_t creation_date = mListener->getCreationDate();
if (mCreationDate != creation_date)
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index ec83a1fd6d..d7720b735c 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -293,9 +293,6 @@ void LLInventoryPanel::modelChanged(U32 mask)
bridge->clearDisplayName();
view_item->refresh();
-
- // Set the new tooltip with the new display name.
- view_item->setToolTip(bridge->getDisplayName());
}
}
}