Skip to content

Commit 387e049

Browse files
committed
Allow selecting wildcard filter for any file input parameter
1 parent cfbc009 commit 387e049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/FileSelectionPanel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def showSelectionDialog(self):
7171
os.path.dirname(folder))
7272
else:
7373
filenames, selected_filter = QFileDialog.getOpenFileNames(self,
74-
self.tr('Select file'), path, '*.' + self.ext)
74+
self.tr('Select file'), path, self.tr('{} files').format(self.ext.upper()) + ' (*.' + self.ext + self.tr(');;All files (*.*)'))
7575
if filenames:
7676
self.leText.setText(u';'.join(filenames))
7777
settings.setValue('/Processing/LastInputPath',

0 commit comments

Comments
 (0)