Fix image bug in service manager

bzr-revno: 1150
This commit is contained in:
Tim Bentley 2010-12-17 20:29:22 +00:00
commit ee67378b77

View File

@ -64,8 +64,7 @@ class ServiceItemEditForm(QtGui.QDialog, Ui_ServiceItemEditDialog):
self.item._raw_frames = []
if self.item.is_image():
for item in self.itemList:
self.item.add_from_image(item[u'path'], item[u'title'],
item[u'image'])
self.item.add_from_image(item[u'path'], item[u'title'])
self.item.render()
return self.item