From e0a2e5e1f3bed95a42c67a9fa9f98e86ab2955ff Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 9 Sep 2009 19:09:17 +0100 Subject: [PATCH] For space police --- openlp/plugins/custom/forms/editcustomform.py | 5 ++--- openlp/plugins/songs/forms/editsongform.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openlp/plugins/custom/forms/editcustomform.py b/openlp/plugins/custom/forms/editcustomform.py index 4cb93270e..a223a9429 100644 --- a/openlp/plugins/custom/forms/editcustomform.py +++ b/openlp/plugins/custom/forms/editcustomform.py @@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA from PyQt4 import Qt, QtCore, QtGui from editcustomdialog import Ui_customEditDialog -from openlp.core.lib import SongXMLBuilder, SongXMLParser, Receiver, translate +from openlp.core.lib import SongXMLBuilder, SongXMLParser, Receiver, translate from openlp.plugins.custom.lib.models import CustomSlide class EditCustomForm(QtGui.QDialog, Ui_customEditDialog): @@ -166,10 +166,9 @@ class EditCustomForm(QtGui.QDialog, Ui_customEditDialog): for row in range(0, self.VerseListView.count()): tempList[row] = self.VerseListView.item(row).text() self.VerseListView.clear() - for row in range (0, len(tempList)): + for row in range (0, len(tempList)): self.VerseListView.addItem(tempList[row]) self.VerseListView.repaint() - self.SaveButton.setEnabled(False) self.EditButton.setEnabled(False) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index bda64a271..60b7906cb 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -293,7 +293,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): for row in range(0, self.VerseListWidget.count()): tempList[row] = self.VerseListWidget.item(row).text() self.VerseListWidget.clear() - for row in range (0, len(tempList)): + for row in range (0, len(tempList)): self.VerseListWidget.addItem(tempList[row]) self.VerseListWidget.repaint() self.VerseEditButton.setEnabled(False)