aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateravatarpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloateravatarpicker.cpp')
-rw-r--r--linden/indra/newview/llfloateravatarpicker.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloateravatarpicker.cpp b/linden/indra/newview/llfloateravatarpicker.cpp
index 6989084..3bb2462 100644
--- a/linden/indra/newview/llfloateravatarpicker.cpp
+++ b/linden/indra/newview/llfloateravatarpicker.cpp
@@ -208,7 +208,12 @@ void LLFloaterAvatarPicker::onSelectionChange(const std::deque<LLFolderViewItem*
208 self->mAvatarIDs.clear(); 208 self->mAvatarIDs.clear();
209 self->mAvatarNames.clear(); 209 self->mAvatarNames.clear();
210 210
211 self->childSetEnabled("Select", FALSE); 211 // if we have calling cards, disable select button until
212 // the inventory picks a valid calling card
213 if (!items.empty())
214 {
215 self->childSetEnabled("Select", FALSE);
216 }
212 217
213 if (!self->mListNames) 218 if (!self->mListNames)
214 { 219 {