aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:13 -0500
committerJacek Antonelli2008-08-15 23:45:13 -0500
commitc206147ceffd6836bf0f6fe50d0ae4de77c7dcba (patch)
treed8c59df84d01578baea97fb84899a547218f2c8d /linden/indra/newview/llpanelclassified.cpp
parentSecond Life viewer sources 1.18.4.0-RC (diff)
downloadmeta-impy-c206147ceffd6836bf0f6fe50d0ae4de77c7dcba.zip
meta-impy-c206147ceffd6836bf0f6fe50d0ae4de77c7dcba.tar.gz
meta-impy-c206147ceffd6836bf0f6fe50d0ae4de77c7dcba.tar.bz2
meta-impy-c206147ceffd6836bf0f6fe50d0ae4de77c7dcba.tar.xz
Second Life viewer sources 1.18.4.1-RC
Diffstat (limited to 'linden/indra/newview/llpanelclassified.cpp')
-rw-r--r--linden/indra/newview/llpanelclassified.cpp14
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