diff options
Diffstat (limited to 'linden/indra/newview/llpanelclassified.cpp')
-rw-r--r-- | linden/indra/newview/llpanelclassified.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelclassified.cpp b/linden/indra/newview/llpanelclassified.cpp index 0c3edf1..1e93c12 100644 --- a/linden/indra/newview/llpanelclassified.cpp +++ b/linden/indra/newview/llpanelclassified.cpp | |||
@@ -671,9 +671,12 @@ void LLPanelClassified::refresh() | |||
671 | //mEnabledCheck->setEnabled(is_self); | 671 | //mEnabledCheck->setEnabled(is_self); |
672 | mMatureCheck->setEnabled(is_self); | 672 | mMatureCheck->setEnabled(is_self); |
673 | 673 | ||
674 | mAutoRenewCheck->setEnabled(is_self); | 674 | if (mAutoRenewCheck) |
675 | mAutoRenewCheck->setVisible(is_self); | 675 | { |
676 | 676 | mAutoRenewCheck->setEnabled(is_self); | |
677 | mAutoRenewCheck->setVisible(is_self); | ||
678 | } | ||
679 | |||
677 | mClickThroughText->setEnabled(is_self); | 680 | mClickThroughText->setEnabled(is_self); |
678 | mClickThroughText->setVisible(is_self); | 681 | mClickThroughText->setVisible(is_self); |
679 | 682 | ||
@@ -771,7 +774,10 @@ void LLPanelClassified::confirmPublish(S32 option) | |||
771 | mLocationChanged = false; | 774 | mLocationChanged = false; |
772 | mCategoryCombo->resetDirty(); | 775 | mCategoryCombo->resetDirty(); |
773 | mMatureCheck->resetDirty(); | 776 | mMatureCheck->resetDirty(); |
774 | mAutoRenewCheck->resetDirty(); | 777 | if (mAutoRenewCheck) |
778 | { | ||
779 | mAutoRenewCheck->resetDirty(); | ||
780 | } | ||
775 | } | 781 | } |
776 | 782 | ||
777 | // static | 783 | // static |