forked from openlp/openlp
commented everything out, which cannot work (currently)
This commit is contained in:
parent
521b06ee8c
commit
de3659bc92
@ -473,7 +473,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
items = self.listView.selectedIndexes()
|
items = self.listView.selectedIndexes()
|
||||||
if len(items) == 0:
|
if len(items) == 0:
|
||||||
return False
|
return False
|
||||||
first = True
|
#first = True
|
||||||
bible_text = u''
|
bible_text = u''
|
||||||
old_chapter = u''
|
old_chapter = u''
|
||||||
raw_footer = []
|
raw_footer = []
|
||||||
@ -530,26 +530,27 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
bible_text = u''
|
bible_text = u''
|
||||||
# If we are 'Verse Per Line' then force a new line.
|
# If we are 'Verse Per Line' then force a new line.
|
||||||
elif self.parent.settings_tab.layout_style == 1:
|
elif self.parent.settings_tab.layout_style == 1:
|
||||||
bible_text = u'%s %s %s\n\n' % (bible_text, verse_text, text)
|
text = text + u'\n'
|
||||||
|
bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
||||||
# We have to be 'Continuous'.
|
# We have to be 'Continuous'.
|
||||||
else:
|
else:
|
||||||
# split the line but do not replace line breaks in renderer
|
# split the line but do not replace line breaks in renderer
|
||||||
service_item.add_capability(ItemCapabilities.NoLineBreaks)
|
service_item.add_capability(ItemCapabilities.NoLineBreaks)
|
||||||
#text = text + u'\n'
|
bible_text = u'%s %s %s\n' % (bible_text, verse_text, text)
|
||||||
if first:
|
#if first:
|
||||||
bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
||||||
# We add a line break if the previously verse has a different
|
# We add a line break if the previously verse has a different
|
||||||
# book or bible version.
|
# book or bible version.
|
||||||
elif bible != old_bible or book != old_book:
|
#elif bible != old_bible or book != old_book:
|
||||||
bible_text = u'%s\n%s %s' % (bible_text, verse_text,
|
# bible_text = u'%s\n%s %s' % (bible_text, verse_text,
|
||||||
text)
|
# text)
|
||||||
else:
|
#else:
|
||||||
bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
||||||
if first:
|
#if first:
|
||||||
first = False
|
# first = False
|
||||||
old_chapter = chapter
|
old_chapter = chapter
|
||||||
old_book = book
|
#old_book = book
|
||||||
old_bible = bible
|
#old_bible = bible
|
||||||
# If there are no more items we check whether we have to add bible_text.
|
# If there are no more items we check whether we have to add bible_text.
|
||||||
if bible_text:
|
if bible_text:
|
||||||
raw_slides.append(bible_text)
|
raw_slides.append(bible_text)
|
||||||
|
Loading…
Reference in New Issue
Block a user