forked from openlp/openlp
Force regeneration of all changes
This commit is contained in:
parent
985ce73dfd
commit
20ab9d1ce2
@ -570,11 +570,11 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
self.service_theme = unicode(self.ThemeComboBox.currentText())
|
self.service_theme = unicode(self.ThemeComboBox.currentText())
|
||||||
self.parent.RenderManager.set_service_theme(self.service_theme)
|
self.parent.RenderManager.set_service_theme(self.service_theme)
|
||||||
self.config.set_config(u'service theme', self.service_theme)
|
self.config.set_config(u'service theme', self.service_theme)
|
||||||
#force reset of renderer.
|
|
||||||
self.parent.RenderManager.themesata = None
|
|
||||||
self.regenerateServiceItems()
|
self.regenerateServiceItems()
|
||||||
|
|
||||||
def regenerateServiceItems(self):
|
def regenerateServiceItems(self):
|
||||||
|
#force reset of renderer as theme data has changed
|
||||||
|
self.parent.RenderManager.themesata = None
|
||||||
if len(self.serviceItems) > 0:
|
if len(self.serviceItems) > 0:
|
||||||
tempServiceItems = self.serviceItems
|
tempServiceItems = self.serviceItems
|
||||||
self.onNewService()
|
self.onNewService()
|
||||||
|
Loading…
Reference in New Issue
Block a user