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()
|
self.loadBooks()
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
elif item > 1:
|
elif item >= 1:
|
||||||
item = int(self.SongbookCombo.currentIndex())
|
item = int(self.SongbookCombo.currentIndex())
|
||||||
self.song.song_book_id = \
|
self.song.song_book_id = \
|
||||||
(self.SongbookCombo.itemData(item)).toInt()[0]
|
(self.SongbookCombo.itemData(item)).toInt()[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user