Skip to content

Commit

Permalink
[processing] uncheck Z-coordinate on layer change in Interpolation
Browse files Browse the repository at this point in the history
algorithm (fix #10010)
  • Loading branch information
alexbruy committed May 1, 2017
1 parent 5112428 commit 1225203
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ def __init__(self):
self.cmbFields.setFilters(QgsFieldProxyModel.Numeric)
self.cmbFields.setLayer(self.cmbLayers.currentLayer())

#self.delegate = InterpolationTypeDelegate()
#self.layersTree.setItemDelegateForColumn(2, self.delegate)

@pyqtSlot()
def on_btnAdd_clicked(self):
layer = self.cmbLayers.currentLayer()
Expand All @@ -87,6 +84,7 @@ def on_btnRemove_clicked(self):
@pyqtSlot(QgsMapLayer)
def on_cmbLayers_layerChanged(self, layer):
self.chkUseZCoordinate.setEnabled(False)
self.chkUseZCoordinate.setChecked(False)

if layer is None or not layer.isValid():
return
Expand Down

0 comments on commit 1225203

Please sign in to comment.