Skip to content

Commit

Permalink
[processing] fix wrong parameter definition (fix #16063)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 11, 2017
1 parent 80d0d05 commit 6214d4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/gdal/gdal2tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def defineCharacteristics(self):
params = []
params.append(ParameterSelection(self.PROFILE,
self.tr('Tile cutting profile'),
self.PROFILES, 0, False, True))
self.PROFILES, 0, False, optional=True))
params.append(ParameterSelection(self.RESAMPLING,
self.tr('Resampling method'),
self.RESAMPLINGS, 0, False, True))
self.RESAMPLINGS, 0, False, optional=True))
params.append(ParameterCrs(self.S_SRS,
self.tr('The spatial reference system used for the source input data'),
None, True))
Expand All @@ -101,7 +101,7 @@ def defineCharacteristics(self):
None, False, True))
params.append(ParameterSelection(self.WEBVIEWER,
self.tr('Web viewer to generate'),
self.WEBVIEWERS, 0, False, True))
self.WEBVIEWERS, 0, False, optional=True))
params.append(ParameterString(self.TITLE,
self.tr('Title of the map'),
None, False, True))
Expand Down

0 comments on commit 6214d4d

Please sign in to comment.