mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] remove square brackets from output names when no path and no extensions are provided
This commit is contained in:
parent
1132eb9070
commit
950a191813
@ -237,6 +237,8 @@ class OutputSelectionPanel(BASE, WIDGET):
|
||||
result = exp.evaluate(context)
|
||||
if not exp.hasEvalError():
|
||||
fileName = result
|
||||
if fileName.startswith("[") and fileName.endswith("]"):
|
||||
fileName = fileName[1:-1]
|
||||
if fileName.strip() in ['', self.SAVE_TO_TEMP_FILE]:
|
||||
value = None
|
||||
elif fileName.startswith('memory:'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user