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 387e049
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.