forked from openlp/openlp
Song editing fix - final
This commit is contained in:
parent
d7ecd8a493
commit
05761ef442
@ -291,13 +291,10 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
if len(tempText.split(u'\n')) != len(afterText.split(u'\n')):
|
if len(tempText.split(u'\n')) != len(afterText.split(u'\n')):
|
||||||
tempList = {}
|
tempList = {}
|
||||||
for row in range(0, self.VerseListWidget.count()):
|
for row in range(0, self.VerseListWidget.count()):
|
||||||
item = self.VerseListWidget.item(row)
|
tempList[row] = self.VerseListWidget.item(row).text()
|
||||||
tempList[row] = item.text()
|
|
||||||
self.VerseListWidget.clear()
|
self.VerseListWidget.clear()
|
||||||
for row in range (0, len(tempList)):
|
for row in range (0, len(tempList)):
|
||||||
text = tempList[row]
|
self.VerseListWidget.addItem(tempList[row])
|
||||||
print text
|
|
||||||
self.VerseListWidget.addItem(text)
|
|
||||||
self.VerseListWidget.repaint()
|
self.VerseListWidget.repaint()
|
||||||
self.VerseEditButton.setEnabled(False)
|
self.VerseEditButton.setEnabled(False)
|
||||||
self.VerseDeleteButton.setEnabled(False)
|
self.VerseDeleteButton.setEnabled(False)
|
||||||
|
Loading…
Reference in New Issue
Block a user