Skip to content

Commit

Permalink
[processing] quote layer names in raster calculator (fix #17847)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 15, 2018
1 parent f952fe6 commit 490aad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(self, options):
self.setList(options)

def doubleClicked(item):
self.text.insertPlainText(self.options[item.text()])
self.text.insertPlainText('"{}"'.format(self.options[item.text()]))

def addButtonText(text):
if any(c for c in text if c.islower()):
Expand Down

0 comments on commit 490aad1

Please sign in to comment.