MultiProject/MultiProject.py

branch
5_3_x
changeset 2343
07d087bc1f9d
parent 2302
f29e9405c851
child 2404
cba0ff902c2b
child 3163
9f50365a0870
equal deleted inserted replaced
2335:a30a3798a772 2343:07d087bc1f9d
266 """ 266 """
267 Public slot used to add files to the project. 267 Public slot used to add files to the project.
268 268
269 @param startdir start directory for the selection dialog (string) 269 @param startdir start directory for the selection dialog (string)
270 """ 270 """
271 if startdir is None: 271 if not startdir:
272 startdir = self.ppath 272 startdir = self.ppath
273 if not startdir:
274 startdir = Preferences.getMultiProject("Workspace")
273 dlg = AddProjectDialog(self.ui, startdir=startdir) 275 dlg = AddProjectDialog(self.ui, startdir=startdir)
274 if dlg.exec_() == QDialog.Accepted: 276 if dlg.exec_() == QDialog.Accepted:
275 name, filename, isMaster, description = dlg.getData() 277 name, filename, isMaster, description = dlg.getData()
276 278
277 # step 1: check, if project was already added 279 # step 1: check, if project was already added

eric ide

mercurial