Skip to content
Permalink
Browse files

Allow selecting wildcard filter for any file input parameter

  • Loading branch information
nyalldawson committed Aug 18, 2017
1 parent cfbc009 commit 387e04974a8b4f084f836ee4e792f12c1205146b
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/FileSelectionPanel.py
@@ -71,7 +71,7 @@ def showSelectionDialog(self):
os.path.dirname(folder))
else:
filenames, selected_filter = QFileDialog.getOpenFileNames(self,
self.tr('Select file'), path, '*.' + self.ext)
self.tr('Select file'), path, self.tr('{} files').format(self.ext.upper()) + ' (*.' + self.ext + self.tr(');;All files (*.*)'))
if filenames:
self.leText.setText(u';'.join(filenames))
settings.setValue('/Processing/LastInputPath',

0 comments on commit 387e049

Please sign in to comment.
You can’t perform that action at this time.