Sat, 28 Jul 2018 18:28:55 +0200
E5PathPickerDialog: fixed an issue causing file paths with leading or trailing whitespace being returned.
E5Gui/E5PathPickerDialog.py | file | annotate | diff | comparison | revisions |
--- a/E5Gui/E5PathPickerDialog.py Sat Jul 28 14:35:06 2018 +0200 +++ b/E5Gui/E5PathPickerDialog.py Sat Jul 28 18:28:55 2018 +0200 @@ -152,7 +152,7 @@ # step 2: show the dialog and get the result if dlg.exec_() == QDialog.Accepted: ok = True - path = dlg.getPath() + path = dlg.getPath().strip() else: ok = False path = ""