Merge lp:~phill-ridout/openlp/1073061 into lp:openlp

Proposed by Phill
Status: Merged
Approved by: Raoul Snyman
Approved revision: 2099
Merged at revision: 2099
Proposed branch: lp:~phill-ridout/openlp/1073061
Merge into: lp:openlp
Diff against target: 17 lines (+4/-3)
1 file modified
openlp/plugins/songs/lib/songimport.py (+4/-3)
To merge this branch: bzr merge lp:~phill-ridout/openlp/1073061
Reviewer Review Type Date Requested Status
Raoul Snyman Approve
Tim Bentley Approve
Review via email: mp+132757@code.launchpad.net

Description of the change

Fix for bug#1073061

To post a comment you must log in.
Revision history for this message
Tim Bentley (trb143) :
review: Approve
Revision history for this message
Raoul Snyman (raoul-snyman) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openlp/plugins/songs/lib/songimport.py'
2--- openlp/plugins/songs/lib/songimport.py 2012-10-21 14:07:57 +0000
3+++ openlp/plugins/songs/lib/songimport.py 2012-11-02 22:07:22 +0000
4@@ -274,9 +274,10 @@
5 """
6 Repeat the previous verse in the verse order
7 """
8- self.verseOrderListGenerated.append(
9- self.verseOrderListGenerated[-1])
10- self.verseOrderListGeneratedUseful = True
11+ if self.verseOrderListGenerated:
12+ self.verseOrderListGenerated.append(
13+ self.verseOrderListGenerated[-1])
14+ self.verseOrderListGeneratedUseful = True
15
16 def checkComplete(self):
17 """