Fix for bug #1073061 where the song importer would crash when no song order was supplied.

bzr-revno: 2099
Fixes: https://launchpad.net/bugs/1073061
This commit is contained in:
Philip Ridout 2012-11-03 22:33:57 +02:00 committed by Raoul Snyman
commit 3038a5d02e

View File

@ -274,6 +274,7 @@ class SongImport(QtCore.QObject):
"""
Repeat the previous verse in the verse order
"""
if self.verseOrderListGenerated:
self.verseOrderListGenerated.append(
self.verseOrderListGenerated[-1])
self.verseOrderListGeneratedUseful = True