summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-06-22 17:31:37 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-06-22 17:31:37 +0300
commit891eaf76ca0d86c873d08c3c8f21400e43b7aef1 (patch)
tree43fa55a26b4a8f668e20bc3a0e9b0bb7288931ad /indra
parent382bb55b6d739fbe1afbcb96b42b5e749b043ed0 (diff)
MAINT-948 FIXED Search Places Check Box Not Showing as Checked to non-land-owners
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterland.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp
index 4352909706..695b321751 100644
--- a/indra/newview/llfloaterland.cpp
+++ b/indra/newview/llfloaterland.cpp
@@ -2181,17 +2181,8 @@ void LLPanelLandOptions::refreshSearch()
&& region
&& !(region->getRegionFlag(REGION_FLAGS_BLOCK_PARCEL_SEARCH));
- // There is a bug with this panel whereby the Show Directory bit can be
- // slammed off by the Region based on an override. Since this data is cached
- // locally the change will not reflect in the panel, which could cause confusion
- // A workaround for this is to flip the bit off in the locally cached version
- // when we detect a mismatch case.
- if(!can_change && parcel->getParcelFlag(PF_SHOW_DIRECTORY))
- {
- parcel->setParcelFlag(PF_SHOW_DIRECTORY, FALSE);
- }
BOOL show_directory = parcel->getParcelFlag(PF_SHOW_DIRECTORY);
- mCheckShowDirectory ->set(show_directory);
+ mCheckShowDirectory->set(show_directory);
// Set by string in case the order in UI doesn't match the order by index.
LLParcel::ECategory cat = parcel->getCategory();