summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2009-11-23 19:08:52 +0200
committerAndrew Dyukov <adyukov@productengine.com>2009-11-23 19:08:52 +0200
commit35ebf50ec7a0f11aade28130b5ed6c3263c92359 (patch)
tree3f87df507564ab2ffb7c58d7f35f70418ba0c087 /indra/newview
parent3b0bfcb4b7c1370bcf69844d52b92fee0182c8c8 (diff)
Fixed normal bug EXT-2668 (NONE group is present in the Group Chooser for which to send invitation).
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llavataractions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 0844cca766..a133bd6fe6 100644
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -347,9 +347,9 @@ void LLAvatarActions::inviteToGroup(const LLUUID& id)
LLFloaterGroupPicker* widget = LLFloaterReg::showTypedInstance<LLFloaterGroupPicker>("group_picker", LLSD(id));
if (widget)
{
- widget->removeNoneOption();
widget->center();
widget->setPowersMask(GP_MEMBER_INVITE);
+ widget->removeNoneOption();
widget->setSelectGroupCallback(boost::bind(callback_invite_to_group, _1, id));
}
}