Skip to content

Commit a23f315

Browse files
committedNov 10, 2017
Fix duplicate 'all files' entry in batch input file selection dialog
1 parent 87ffdab commit a23f315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/processing/gui/BatchInputSelectionPanel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def showPopupMenu(self):
9494
popupmenu.addAction(selectLayerAction)
9595

9696
selectFileAction = QAction(
97-
self.tr('Select from filesystem'), self.pushButton)
97+
self.tr('Select from file system'), self.pushButton)
9898
selectFileAction.triggered.connect(self.showFileSelectionDialog)
9999
popupmenu.addAction(selectFileAction)
100100

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.