Fixed a down arrow functionality issue on the editcustomform.py

bzr-revno: 400
This commit is contained in:
Scott Guerrieri 2009-03-09 02:16:38 +00:00
parent 6306be9eda
commit 34ace15939
1 changed files with 1 additions and 1 deletions

View File

@ -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)