--- a/eric7/E5Gui/E5PathPickerDialog.py Wed May 19 18:16:45 2021 +0200 +++ b/eric7/E5Gui/E5PathPickerDialog.py Wed May 19 19:53:36 2021 +0200 @@ -112,7 +112,7 @@ return self.__pathPicker.path() -def getPath(parent, title, label, mode=E5PathPickerModes.OpenFileMode, +def getPath(parent, title, label, mode=E5PathPickerModes.OPEN_FILE_MODE, path="", defaultDirectory="", filters=None): """ Function to get a file or directory path from the user.