forked from openlp/openlp
Fix off-by-one saving songs
bzr-revno: 893
This commit is contained in:
commit
5e14dbda82
@ -396,7 +396,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
self.loadBooks()
|
||||
else:
|
||||
return
|
||||
elif item > 1:
|
||||
elif item >= 1:
|
||||
item = int(self.SongbookCombo.currentIndex())
|
||||
self.song.song_book_id = \
|
||||
(self.SongbookCombo.itemData(item)).toInt()[0]
|
||||
|
Loading…
Reference in New Issue
Block a user