Skip to content
Permalink
Browse files
fix indentation
  • Loading branch information
alexbruy committed Oct 4, 2016
1 parent b5f1267 commit 7a9018e948f5f8feb77943d83dac7aa2f51515d7
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py
  2. +1 −1 python/plugins/processing/tools/vector.py
@@ -99,7 +99,7 @@ def initContext(self):
exp_context.lastScope().setVariable("row_number", 1)
exp_context.setHighlightedVariables(["row_number"])
self.builder.setExpressionContext(exp_context)

def updateLayer(self):
self.layer = dataobjects.getObject(self.cmbInputLayer.currentText())
self.builder.setLayer(self.layer)
@@ -203,7 +203,7 @@ def spatialindex(layer):
request = QgsFeatureRequest()
request.setSubsetOfAttributes([])
if ProcessingConfig.getSetting(ProcessingConfig.USE_SELECTED) \
and layer.selectedFeatureCount() > 0:
and layer.selectedFeatureCount() > 0:
idx = layer.selectedFeaturesIterator(request)
else:
idx = QgsSpatialIndex(layer.getFeatures(request))

0 comments on commit 7a9018e

Please sign in to comment.