Sun, 13 Jan 2013 16:56:27 +0100
Added the 'Workspace' to the selection criteria for the multi project's 'Add Project' action.
(grafted from ba67938138b94ef1ced14d1806f087d06dd90a44)
MultiProject/MultiProject.py | file | annotate | diff | comparison | revisions |
--- a/MultiProject/MultiProject.py Sun Jan 13 12:56:00 2013 +0100 +++ b/MultiProject/MultiProject.py Sun Jan 13 16:56:27 2013 +0100 @@ -268,8 +268,10 @@ @param startdir start directory for the selection dialog (string) """ - if startdir is None: + if not startdir: startdir = self.ppath + if not startdir: + startdir = Preferences.getMultiProject("Workspace") dlg = AddProjectDialog(self.ui, startdir=startdir) if dlg.exec_() == QDialog.Accepted: name, filename, isMaster, description = dlg.getData()