Fixed the latest platform fix. 5_1_x

Sat, 17 Sep 2011 16:28:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 Sep 2011 16:28:41 +0200
branch
5_1_x
changeset 1336
d8e473d7e443
parent 1334
e6cbd342862d
child 1340
142ad6decc3a

Fixed the latest platform fix.
(transplanted from 60a540cabd681a5bb9ae0e1939d58e8f7fa8703d)

Project/AddFileDialog.py file | annotate | diff | comparison | revisions
--- a/Project/AddFileDialog.py	Sat Sep 17 10:55:22 2011 +0200
+++ b/Project/AddFileDialog.py	Sat Sep 17 16:28:41 2011 +0200
@@ -182,6 +182,7 @@
             the files shall be added as source code
         """
         return (
-            Utilities.toNativeSeparators(self.sourceFileEdit.text().split(os.pathsep)),
+            [Utilities.toNativeSeparators(f) for f in
+                self.sourceFileEdit.text().split(os.pathsep)],
             Utilities.toNativeSeparators(self.targetDirEdit.text()),
             self.sourcecodeCheckBox.isChecked())

eric ide

mercurial