forked from openlp/openlp
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:
commit
3038a5d02e
@ -274,9 +274,10 @@ class SongImport(QtCore.QObject):
|
|||||||
"""
|
"""
|
||||||
Repeat the previous verse in the verse order
|
Repeat the previous verse in the verse order
|
||||||
"""
|
"""
|
||||||
self.verseOrderListGenerated.append(
|
if self.verseOrderListGenerated:
|
||||||
self.verseOrderListGenerated[-1])
|
self.verseOrderListGenerated.append(
|
||||||
self.verseOrderListGeneratedUseful = True
|
self.verseOrderListGenerated[-1])
|
||||||
|
self.verseOrderListGeneratedUseful = True
|
||||||
|
|
||||||
def checkComplete(self):
|
def checkComplete(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user