forked from openlp/openlp
- fixed a wrong parentage which can lead to a traceback when you enter a custom service notes, but the service order does not contain any item
bzr-revno: 1462
This commit is contained in:
commit
8eeffdd063
@ -222,6 +222,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
|||||||
unicode(datetime.timedelta(seconds=tme)), title)
|
unicode(datetime.timedelta(seconds=tme)), title)
|
||||||
# Add the custom service notes:
|
# Add the custom service notes:
|
||||||
if self.footerTextEdit.toPlainText():
|
if self.footerTextEdit.toPlainText():
|
||||||
|
div = self._addChildToParent(u'div', parent=html_data.body)
|
||||||
self._addChildToParent(u'span', translate('OpenLP.ServiceManager',
|
self._addChildToParent(u'span', translate('OpenLP.ServiceManager',
|
||||||
u'Custom Service Notes:'), div, u'class', u'customNotesTitle')
|
u'Custom Service Notes:'), div, u'class', u'customNotesTitle')
|
||||||
self._addChildToParent(
|
self._addChildToParent(
|
||||||
|
Loading…
Reference in New Issue
Block a user