diff options
author | Dave SIMmONs <simon@lindenlab.com> | 2011-05-24 10:44:27 -0700 |
---|---|---|
committer | Dave SIMmONs <simon@lindenlab.com> | 2011-05-24 10:44:27 -0700 |
commit | 1a5b3b0a9091a72fd5e5fb395f7f0c97b0fd502c (patch) | |
tree | f1025d69463201fdd23d46fb490fc93d29837803 /indra/newview/llfloaterland.cpp | |
parent | eaf293f62f06e37f914efaf1cd33ab63648699d4 (diff) |
ER-914: Disable Parcel Privacy UI in viewer if on older sim
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r-- | indra/newview/llfloaterland.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index d9d2c3d5a6..8de93a385f 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -2036,7 +2036,7 @@ void LLPanelLandOptions::refresh() mPrivateParcelCtrl->set(parcel->getPrivacy()); mPrivateParcelCtrl->setLabel(getString("private_parcel_text")); - mPrivateParcelCtrl->setEnabled(can_change_options); + mPrivateParcelCtrl->setEnabled(can_change_options && parcel->getHavePrivacyData()); BOOL can_change_landing_point = LLViewerParcelMgr::isParcelModifiableByAgent(parcel, GP_LAND_SET_LANDING_POINT); |