forked from openlp/openlp
Fix bug #1216785 by casting the notes text to unicode first.
Fixes: https://launchpad.net/bugs/1216785
This commit is contained in:
parent
81cd369bfe
commit
61a5e55d12
@ -796,7 +796,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
self.serviceItems[item][u'service_item'].notes)
|
||||
if self.serviceNoteForm.exec_():
|
||||
self.serviceItems[item][u'service_item'].notes = \
|
||||
self.serviceNoteForm.textEdit.toPlainText()
|
||||
unicode(self.serviceNoteForm.textEdit.toPlainText())
|
||||
self.repaintServiceList(item, -1)
|
||||
self.setModified()
|
||||
|
||||
|
@ -32,6 +32,7 @@ from PyQt4 import QtGui
|
||||
from openlp.core.lib import translate, SpellTextEdit
|
||||
from openlp.core.lib.ui import create_button_box
|
||||
|
||||
|
||||
class ServiceNoteForm(QtGui.QDialog):
|
||||
"""
|
||||
This is the form that is used to edit the verses of the song.
|
||||
|
Loading…
Reference in New Issue
Block a user