mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] fixed #10364
This commit is contained in:
parent
0d9fc5091f
commit
e4d0f15511
@ -111,7 +111,7 @@ class OutputSelectionPanel(QWidget, Ui_widgetOutputSelect):
|
||||
selectedFileFilter = unicode(fileDialog.selectedNameFilter())
|
||||
if not fileName.lower().endswith(
|
||||
tuple(re.findall("\*(\.[a-z]{1,5})", fileFilter))):
|
||||
ext = re.search("\*(\.[a-z]{1,5})", selectedFilefilter)
|
||||
ext = re.search("\*(\.[a-z]{1,5})", selectedFileFilter)
|
||||
if ext:
|
||||
fileName += ext.group(1)
|
||||
self.text.setText(fileName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user