Removing dependency on lxml - fixed some bugs on deleting a job and all it's sub components.

This commit is contained in:
Markus Lampert
2017-06-20 15:40:39 -07:00
parent e399785a97
commit 6a3a102964
5 changed files with 30 additions and 22 deletions

View File

@@ -438,9 +438,10 @@ def addToJob(obj, jobname=None):
print(form.cboProject.currentText())
job = [i for i in jobs if i.Name == form.cboProject.currentText()][0]
g = job.Group
g.append(obj)
job.Group = g
if obj:
g = job.Group
g.append(obj)
job.Group = g
return job