Skip to content
Permalink
Browse files

Fix duplicate 'all files' entry in batch input file selection dialog

  • Loading branch information
nyalldawson committed Nov 10, 2017
1 parent 87ffdab commit a23f315f39b9cdd5aae0d9d1ca6a095317d4b789
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/BatchInputSelectionPanel.py
@@ -94,7 +94,7 @@ def showPopupMenu(self):
popupmenu.addAction(selectLayerAction)

selectFileAction = QAction(
self.tr('Select from filesystem'), self.pushButton)
self.tr('Select from file system'), self.pushButton)
selectFileAction.triggered.connect(self.showFileSelectionDialog)
popupmenu.addAction(selectFileAction)

@@ -150,7 +150,7 @@ def showFileSelectionDialog(self):
path = ''

ret, selected_filter = QFileDialog.getOpenFileNames(self, self.tr('Open file'), path,
self.tr('All files (*.*);;') + getFileFilter(self.param))
getFileFilter(self.param))
if ret:
files = list(ret)
settings.setValue('/Processing/LastInputPath',

0 comments on commit a23f315

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