Sun, 13 Jan 2013 16:56:27 +0100
Added the 'Workspace' to the selection criteria for the multi project's 'Add Project' action.
MultiProject/MultiProject.py | file | annotate | diff | comparison | revisions |
--- a/MultiProject/MultiProject.py Sat Jan 12 18:44:39 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()