forked from openlp/openlp
Fix new chapter code in presentation logic
bzr-revno: 383
This commit is contained in:
parent
4ad8b74167
commit
81a7a142e4
@ -354,9 +354,10 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
|
|
||||||
def formatVerse(self, old_chapter, chapter, verse, opening, closing):
|
def formatVerse(self, old_chapter, chapter, verse, opening, closing):
|
||||||
loc = opening
|
loc = opening
|
||||||
if self.parent.bibles_tab.new_chapter_check:
|
if old_chapter != chapter:
|
||||||
if old_chapter != chapter:
|
loc += chapter + u':'
|
||||||
loc += chapter + u':'
|
elif not self.parent.bibles_tab.new_chapter_check:
|
||||||
|
loc += chapter + u':'
|
||||||
loc += verse
|
loc += verse
|
||||||
loc += closing
|
loc += closing
|
||||||
return loc
|
return loc
|
||||||
|
Loading…
Reference in New Issue
Block a user