fixes bug #986699: Print Service not separating verses

This commit is contained in:
Martin Barrett 2012-06-30 19:51:53 +01:00
parent 30e760dbe3
commit d2d129deb3

View File

@ -331,7 +331,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
""" """
self.update_song_usage() self.update_song_usage()
cursor = QtGui.QTextCursor(self.document) cursor = QtGui.QTextCursor(self.document)
cursor.select(3) cursor.select(QtGui.QTextCursor.Document)
clipboard_text = cursor.selectedText() clipboard_text = cursor.selectedText()
# We now have the unprocessed unicode service text in the cursor # We now have the unprocessed unicode service text in the cursor
# So we replace u2028 with \n and u2029 with \n\n and a few others # So we replace u2028 with \n and u2029 with \n\n and a few others