From aea6aa0c2b878a812e2fc4f4ca56c48099543f82 Mon Sep 17 00:00:00 2001 From: Andrew Dyukov Date: Tue, 17 Nov 2009 20:09:39 +0200 Subject: Fixed minor bug EXT-2507 (Implement some text for empty Picks tab in avatar's Profile ). --HG-- branch : product-engine --- indra/newview/llpanelpicks.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpanelpicks.cpp') 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() -- cgit v1.2.3