Skip to content

Commit 490aad1

Browse files
committedJan 15, 2018
[processing] quote layer names in raster calculator (fix #17847)
1 parent f952fe6 commit 490aad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(self, options):
102102
self.setList(options)
103103

104104
def doubleClicked(item):
105-
self.text.insertPlainText(self.options[item.text()])
105+
self.text.insertPlainText('"{}"'.format(self.options[item.text()]))
106106

107107
def addButtonText(text):
108108
if any(c for c in text if c.islower()):

0 commit comments

Comments
 (0)
Please sign in to comment.