openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #02163
[Merge] lp:~meths/openlp/trivialfixes into lp:openlp
Jon Tibble has proposed merging lp:~meths/openlp/trivialfixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Fix off-by-one in saving a song with a song book
--
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/28631
Your team OpenLP Core is requested to review the proposed merge of lp:~meths/openlp/trivialfixes into lp:openlp.
=== modified file 'openlp/plugins/songs/forms/editsongform.py'
--- openlp/plugins/songs/forms/editsongform.py 2010-06-25 08:07:51 +0000
+++ openlp/plugins/songs/forms/editsongform.py 2010-06-28 12:43:25 +0000
@@ -396,7 +396,7 @@
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]
Follow ups