diff --git a/openlp/plugins/custom/forms/editcustomform.py b/openlp/plugins/custom/forms/editcustomform.py index a0225b0cd..21ec89d9a 100644 --- a/openlp/plugins/custom/forms/editcustomform.py +++ b/openlp/plugins/custom/forms/editcustomform.py @@ -72,7 +72,7 @@ class EditCustomForm(QtGui.QDialog, Ui_customEditDialog): def onDownButtonPressed(self): selectedRow = self.VerseListView.currentRow() - if self.selectedRow != self.VerseListView.count() - 1: # zero base arrays + if selectedRow != self.VerseListView.count() - 1: # zero base arrays qw = self.VerseListView.takeItem(selectedRow) self.VerseListView.insertItem(selectedRow + 1, qw) self.VerseListView.setCurrentRow(selectedRow + 1)