forked from openlp/openlp
Fix up bug for Theme savings and OOS
This commit is contained in:
parent
d2b4bc4314
commit
eec672c944
@ -590,9 +590,14 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
self.parent.RenderManager.themedata = None
|
self.parent.RenderManager.themedata = None
|
||||||
if len(self.serviceItems) > 0:
|
if len(self.serviceItems) > 0:
|
||||||
tempServiceItems = self.serviceItems
|
tempServiceItems = self.serviceItems
|
||||||
self.onNewService()
|
self.ServiceManagerList.clear()
|
||||||
|
self.serviceItems = []
|
||||||
|
self.isNew = True
|
||||||
for item in tempServiceItems:
|
for item in tempServiceItems:
|
||||||
self.addServiceItem(item[u'service_item'], True)
|
self.addServiceItem(item[u'service_item'], True)
|
||||||
|
#Set to False as items may have changed rendering
|
||||||
|
#does not impact the saved song so True may aslo be valid
|
||||||
|
self.parent.serviceChanged(False, self.serviceName)
|
||||||
|
|
||||||
def addServiceItem(self, item, rebuild=False):
|
def addServiceItem(self, item, rebuild=False):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user