summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpicks.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2009-11-17 20:09:39 +0200
committerAndrew Dyukov <adyukov@productengine.com>2009-11-17 20:09:39 +0200
commitaea6aa0c2b878a812e2fc4f4ca56c48099543f82 (patch)
treea39a83b9d21dbd383146460735357ba075b73539 /indra/newview/llpanelpicks.cpp
parenta66aa0fd9a7aa20484521bf9b3809297e31466b0 (diff)
Fixed minor bug EXT-2507 (Implement some text for empty Picks tab in avatar's Profile ).
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rw-r--r--indra/newview/llpanelpicks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 04b4226f82..10b90b08d7 100644
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -230,6 +230,8 @@ void LLPanelPicks::processProperties(void* data, EAvatarProcessorType type)
updateButtons();
}
}
+ if(!mPicksList->size() && !mClassifiedsList->size())
+ childSetVisible("empty_picks_panel_text", true);
}
LLPickItem* LLPanelPicks::getSelectedPickItem()