Skip to content
Snippets Groups Projects
Commit 2ac262cf authored by Drake Arconis's avatar Drake Arconis
Browse files

Fix group CSV export button

parent 4bc08ec6
No related branches found
No related tags found
No related merge requests found
...@@ -881,6 +881,10 @@ BOOL LLPanelGroupMembersSubTab::postBuildSubTab(LLView* root) ...@@ -881,6 +881,10 @@ BOOL LLPanelGroupMembersSubTab::postBuildSubTab(LLView* root)
void LLPanelGroupMembersSubTab::setGroupID(const LLUUID& id) void LLPanelGroupMembersSubTab::setGroupID(const LLUUID& id)
{ {
LLButton* button = getChild<LLButton>("export_list");
if (button)
button->setEnabled(gAgent.hasPowerInGroup(mGroupID, GP_MEMBER_VISIBLE_IN_DIR));
//clear members list //clear members list
if(mMembersList) mMembersList->deleteAllItems(); if(mMembersList) mMembersList->deleteAllItems();
if(mAssignedRolesList) mAssignedRolesList->deleteAllItems(); if(mAssignedRolesList) mAssignedRolesList->deleteAllItems();
......
...@@ -123,7 +123,7 @@ clicking on their names. ...@@ -123,7 +123,7 @@ clicking on their names.
left="0" left="0"
name="btn_invite_lp" name="btn_invite_lp"
auto_resize="true" auto_resize="true"
width="91"> width="68">
<button <button
follows="top|left|right" follows="top|left|right"
height="23" height="23"
...@@ -132,7 +132,7 @@ clicking on their names. ...@@ -132,7 +132,7 @@ clicking on their names.
left="1" left="1"
top="0" top="0"
name="member_invite" name="member_invite"
width="90" /> width="67" />
</layout_panel> </layout_panel>
<layout_panel <layout_panel
follows="top|left|right" follows="top|left|right"
...@@ -141,7 +141,7 @@ clicking on their names. ...@@ -141,7 +141,7 @@ clicking on their names.
left_pad="2" left_pad="2"
name="eject_btn_lp" name="eject_btn_lp"
auto_resize="true" auto_resize="true"
width="91"> width="68">
<button <button
follows="top|left|right" follows="top|left|right"
left="1" left="1"
...@@ -150,7 +150,7 @@ clicking on their names. ...@@ -150,7 +150,7 @@ clicking on their names.
label="Eject" label="Eject"
layout="topleft" layout="topleft"
top="0" top="0"
width="90" /> width="67" />
</layout_panel> </layout_panel>
<layout_panel <layout_panel
follows="top|left|right" follows="top|left|right"
...@@ -159,7 +159,7 @@ clicking on their names. ...@@ -159,7 +159,7 @@ clicking on their names.
left_pad="2" left_pad="2"
name="ban_btn_lp" name="ban_btn_lp"
auto_resize="true" auto_resize="true"
width="91"> width="68">
<button <button
follows="top|left|right" follows="top|left|right"
left="1" left="1"
...@@ -168,7 +168,25 @@ clicking on their names. ...@@ -168,7 +168,25 @@ clicking on their names.
label="Ban" label="Ban"
layout="topleft" layout="topleft"
top="0" top="0"
width="90" /> width="67" />
</layout_panel>
<layout_panel
follows="top|left|right"
height="23"
layout="topleft"
left_pad="2"
name="export_btn_lp"
auto_resize="true"
width="68">
<button
follows="top|left|right"
left="1"
height="23"
name="export_list"
label="Export"
layout="topleft"
top="0"
width="67" />
</layout_panel> </layout_panel>
</layout_stack> </layout_stack>
</panel> </panel>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment