diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-02-18 15:19:57 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-02-18 15:19:57 +0200 |
commit | a52a761460a882a7890033b29ed203e4ce54c486 (patch) | |
tree | 6bfd7ae7733bcd6e8e499478c74025914bab71e4 /indra/newview/llpanelpicks.cpp | |
parent | c8fec6554487769d7afe6d02cc58bde1d8c6f7b3 (diff) |
Fixed normal bug EXT - 5426 (Invalid message is shown while viewing empty picks tab of another avata)
- Added particular messages for 'PICKS' and 'My Picks' tabs in MyProfile and People panels appropriately. Before there was one message for these tabs.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rw-r--r-- | indra/newview/llpanelpicks.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index 8eb0b69491..2ff2597f08 100644 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -351,7 +351,14 @@ void LLPanelPicks::processProperties(void* data, EAvatarProcessorType type) if (mNoPicks && mNoClassifieds) { - childSetValue("picks_panel_text", LLTrans::getString("NoPicksClassifiedsText")); + if(getAvatarId() == gAgentID) + { + childSetValue("picks_panel_text", LLTrans::getString("NoPicksClassifiedsText")); + } + else + { + childSetValue("picks_panel_text", LLTrans::getString("NoAvatarPicksClassifiedsText")); + } } } |