Runtime fix

This commit is contained in:
Jon Tibble 2009-09-21 20:38:25 +01:00
parent a224d6a895
commit 44ee6c3a4f

View File

@ -208,7 +208,7 @@ class EditCustomForm(QtGui.QDialog, Ui_customEditDialog):
#number of lines has change #number of lines has change
if len(self.beforeText.split(u'\n')) != \ if len(self.beforeText.split(u'\n')) != \
len(self.VerseTextEdit.toPlainText().split(u'\n')): len(self.VerseTextEdit.toPlainText().split(u'\n')):
tempList = {} tempList = {}
for row in range(0, self.VerseListView.count()): for row in range(0, self.VerseListView.count()):
tempList[row] = self.VerseListView.item(row).text() tempList[row] = self.VerseListView.item(row).text()
self.VerseListView.clear() self.VerseListView.clear()