Wed, 20 Jul 2022 17:26:23 +0200
Fixed issues caused by using EricPathPicker.paths() method.
src/eric7/HelpViewer/HelpBookmarksImportDialog.py | file | annotate | diff | comparison | revisions | |
src/eric7/Project/AddFileDialog.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/HelpViewer/HelpBookmarksImportDialog.py Wed Jul 20 16:18:24 2022 +0200 +++ b/src/eric7/HelpViewer/HelpBookmarksImportDialog.py Wed Jul 20 17:26:23 2022 +0200 @@ -60,5 +60,5 @@ """ return ( self.replaceCheckBox.isChecked(), - self.bookmarksPicker.path(), + self.bookmarksPicker.text(), )
--- a/src/eric7/Project/AddFileDialog.py Wed Jul 20 16:18:24 2022 +0200 +++ b/src/eric7/Project/AddFileDialog.py Wed Jul 20 17:26:23 2022 +0200 @@ -160,7 +160,7 @@ @param sfile the text of the source file picker (string) """ - sfile = self.sourceFilesPicker.firstPath() + sfile = str(self.sourceFilesPicker.firstPath()) if sfile.startswith(self.ppath): if os.path.isdir(sfile): directory = sfile @@ -177,7 +177,7 @@ telling, whether the files shall be added as source code """ return ( - self.sourceFilesPicker.paths(), + [str(p) for p in self.sourceFilesPicker.paths()], self.targetDirPicker.text(), self.sourcecodeCheckBox.isChecked(), )