Project/AddFileDialog.py

changeset 1335
60a540cabd68
parent 1330
da34ee6d1d30
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1330:da34ee6d1d30 1335:60a540cabd68
181 @return tuple of three values (list of string, string, boolean) giving the 181 @return tuple of three values (list of string, string, boolean) giving the
182 source files, the target directory and a flag telling, whether 182 source files, the target directory and a flag telling, whether
183 the files shall be added as source code 183 the files shall be added as source code
184 """ 184 """
185 return ( 185 return (
186 Utilities.toNativeSeparators(self.sourceFileEdit.text().split(os.pathsep)), 186 [Utilities.toNativeSeparators(f) for f in
187 self.sourceFileEdit.text().split(os.pathsep)],
187 Utilities.toNativeSeparators(self.targetDirEdit.text()), 188 Utilities.toNativeSeparators(self.targetDirEdit.text()),
188 self.sourcecodeCheckBox.isChecked()) 189 self.sourcecodeCheckBox.isChecked())

eric ide

mercurial