Skip to content

Commit

Permalink
[processing] Fix IDW parameter value creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 13, 2019
1 parent 8cb08e6 commit c1bb546
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/plugins/processing/algs/qgis/ui/InterpolationWidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ def value(self):
else:
inputType = QgsInterpolator.SourceBreakLines

layers += '{}::~::{:d}::~::{:d}::~::{:d}::|::'.format(layer.source(),
interpolationSource,
fieldIndex,
inputType)
return layers[:-1]
layers += '{}::~::{:d}::~::{:d}::~::{:d}::|::'.format(layer.source(),
interpolationSource,
fieldIndex,
inputType)
return layers[:-len('::|::')]


class InterpolationDataWidgetWrapper(WidgetWrapper):
Expand Down

0 comments on commit c1bb546

Please sign in to comment.