Skip to content
Permalink
Browse files

[processing] handle case when default CRS is None and parameter is no…

…t optional
  • Loading branch information
alexbruy committed Feb 10, 2017
1 parent 47d46bb commit cc1adc528eec12ece91f18c4cf489ed213189acd
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/gui/wrappers.py
@@ -270,6 +270,8 @@ def createWidget(self):
if self.param.default:
crs = QgsCoordinateReferenceSystem(self.param.default)
widget.setCrs(crs)
else:
widget.setOptionVisible(QgsProjectionSelectionWidget.CrsNotSet, True)

return widget

0 comments on commit cc1adc5

Please sign in to comment.
You can’t perform that action at this time.