Fixed minor bug EXT-2507 (Implement some text for empty Picks tab in avatar's Profile ).

--HG--
branch : product-engine
meow-7.2.2
Andrew Dyukov 2009-11-17 20:09:39 +02:00
parent a66aa0fd9a
commit aea6aa0c2b
2 changed files with 14 additions and 1 deletions

View File

@ -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()

View File

@ -14,7 +14,18 @@
<string
name="no_classifieds"
value="No Classifieds" />
<text
type="string"
follows="all"
height="535"
layout="topleft"
left="6"
name="empty_picks_panel_text"
top="10"
visible="false"
width="313">
There are no any picks/classifieds here
</text>
<accordion
follows="all"
height="465"