summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateravatarpicker.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2014-08-04 21:35:57 +0000
committerMonty Brandenberg <monty@lindenlab.com>2014-08-04 21:35:57 +0000
commit8fe0084108202f307291d5d9be586e5186c2b1de (patch)
treeade28d7acd7eaf455657260db2b1dc5768e475e4 /indra/newview/llfloateravatarpicker.cpp
parent9fb96b416f0612882ddcaa658945a5b3f73ff331 (diff)
parent9a8b1552f0fbff3cde1c8fa5e24924e237008814 (diff)
Merge. Refresh from viewer-library-refresh after 3.7.13 release.
Diffstat (limited to 'indra/newview/llfloateravatarpicker.cpp')
-rwxr-xr-xindra/newview/llfloateravatarpicker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloateravatarpicker.cpp b/indra/newview/llfloateravatarpicker.cpp
index 3e032d0e4a..513c33e60d 100755
--- a/indra/newview/llfloateravatarpicker.cpp
+++ b/indra/newview/llfloateravatarpicker.cpp
@@ -796,7 +796,7 @@ bool LLFloaterAvatarPicker::isSelectBtnEnabled()
{
bool ret_val = visibleItemsSelected();
- if ( ret_val && mOkButtonValidateSignal.num_slots() )
+ if ( ret_val )
{
std::string acvtive_panel_name;
LLScrollListCtrl* list = NULL;
@@ -827,7 +827,7 @@ bool LLFloaterAvatarPicker::isSelectBtnEnabled()
getSelectedAvatarData(list, avatar_ids, avatar_names);
if (avatar_ids.size() >= 1)
{
- ret_val = mOkButtonValidateSignal(avatar_ids);
+ ret_val = mOkButtonValidateSignal.num_slots()?mOkButtonValidateSignal(avatar_ids):true;
}
else
{