forked from openlp/openlp
Fix review comments
This commit is contained in:
parent
4211f196cd
commit
143f65f476
@ -670,7 +670,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
serviceItem.name.lower(), serviceItem)
|
serviceItem.name.lower(), serviceItem)
|
||||||
# if the item has been processed
|
# if the item has been processed
|
||||||
if serviceItem._uuid == self.load_item_uuid:
|
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
|
serviceItem.temporary_edit = self.load_item_temporary
|
||||||
self.addServiceItem(serviceItem, repaint=False)
|
self.addServiceItem(serviceItem, repaint=False)
|
||||||
delete_file(p_file)
|
delete_file(p_file)
|
||||||
@ -1145,8 +1145,8 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
Triggered from plugins to update service items.
|
Triggered from plugins to update service items.
|
||||||
Save the values as they will be used as part of the service load
|
Save the values as they will be used as part of the service load
|
||||||
"""
|
"""
|
||||||
editId, self.load_item_uuid, temporary = message.split(u':')
|
edit_id, self.load_item_uuid, temporary = message.split(u':')
|
||||||
self.load_item_editId = int(editId)
|
self.load_item_edit_id = int(edit_id)
|
||||||
self.load_item_temporary = str_to_bool(temporary)
|
self.load_item_temporary = str_to_bool(temporary)
|
||||||
|
|
||||||
def replaceServiceItem(self, newItem):
|
def replaceServiceItem(self, newItem):
|
||||||
|
Loading…
Reference in New Issue
Block a user