forked from openlp/openlp
Split if line contains 3 --- can allow for spaces at end of line
This commit is contained in:
parent
4833f7cd0b
commit
6dd0db436e
@ -339,7 +339,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
verse_list = self.verse_form.getVerse()
|
verse_list = self.verse_form.getVerse()
|
||||||
verse_list = verse_list.replace(u'\r\n', u'\n')
|
verse_list = verse_list.replace(u'\r\n', u'\n')
|
||||||
self.VerseListWidget.clear()
|
self.VerseListWidget.clear()
|
||||||
for row in verse_list.split(u'\n---\n'):
|
for row in verse_list.split(u'\n---'):
|
||||||
self.VerseListWidget.addItem(row)
|
self.VerseListWidget.addItem(row)
|
||||||
self.VerseListWidget.repaint()
|
self.VerseListWidget.repaint()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user