aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupgeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgroupgeneral.cpp')
-rw-r--r--linden/indra/newview/llpanelgroupgeneral.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelgroupgeneral.cpp b/linden/indra/newview/llpanelgroupgeneral.cpp
index 55e1b33..e0d6376 100644
--- a/linden/indra/newview/llpanelgroupgeneral.cpp
+++ b/linden/indra/newview/llpanelgroupgeneral.cpp
@@ -561,6 +561,10 @@ bool LLPanelGroupGeneral::apply(std::string& mesg)
561 gIMMgr->saveIgnoreGroup(); 561 gIMMgr->saveIgnoreGroup();
562 } 562 }
563 563
564 mCtrlReceiveNotices->resetDirty(); //resetDirty() here instead of in update because this is where the settings
565 mCtrlListGroup->resetDirty(); //are actually being applied. onCommitUserOnly doesn't call updateChanged directly.
566 mCtrlReceiveChat->resetDirty();
567
564 mChanged = FALSE; 568 mChanged = FALSE;
565 569
566 return true; 570 return true;
@@ -774,14 +778,21 @@ void LLPanelGroupGeneral::update(LLGroupChange gc)
774 { 778 {
775 mCtrlReceiveNotices->setEnabled(mAllowEdit); 779 mCtrlReceiveNotices->setEnabled(mAllowEdit);
776 } 780 }
777 mCtrlReceiveNotices->resetDirty();
778 } 781 }
779 782
780 if (mCtrlReceiveChat) 783 if (mCtrlReceiveChat)
781 { 784 {
782 mCtrlReceiveChat->setVisible(is_member); 785 mCtrlReceiveChat->setVisible(is_member);
783 mCtrlReceiveChat->setEnabled(TRUE); 786 mCtrlReceiveChat->setEnabled(TRUE);
784 mCtrlReceiveChat->resetDirty(); 787 }
788
789 if (mCtrlListGroup)
790 {
791 mCtrlListGroup->setVisible(is_member);
792 if (is_member)
793 {
794 mCtrlListGroup->setEnabled(mAllowEdit);
795 }
785 } 796 }
786 797
787 798