Fix review comments

This commit is contained in:
Tim Bentley 2011-12-12 18:00:12 +00:00
parent 4211f196cd
commit 143f65f476

View File

@ -670,7 +670,7 @@ class ServiceManager(QtGui.QWidget):
serviceItem.name.lower(), serviceItem)
# if the item has been processed
if serviceItem._uuid == self.load_item_uuid:
serviceItem.edit_id = int(self.load_item_editId)
serviceItem.edit_id = int(self.load_item_edit_id)
serviceItem.temporary_edit = self.load_item_temporary
self.addServiceItem(serviceItem, repaint=False)
delete_file(p_file)
@ -1145,8 +1145,8 @@ class ServiceManager(QtGui.QWidget):
Triggered from plugins to update service items.
Save the values as they will be used as part of the service load
"""
editId, self.load_item_uuid, temporary = message.split(u':')
self.load_item_editId = int(editId)
edit_id, self.load_item_uuid, temporary = message.split(u':')
self.load_item_edit_id = int(edit_id)
self.load_item_temporary = str_to_bool(temporary)
def replaceServiceItem(self, newItem):