forked from openlp/openlp
removed everything which cannot work
This commit is contained in:
parent
37b2b1bb9d
commit
beaac2d923
@ -473,7 +473,6 @@ 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
|
|
||||||
bible_text = u''
|
bible_text = u''
|
||||||
old_chapter = u''
|
old_chapter = u''
|
||||||
raw_footer = []
|
raw_footer = []
|
||||||
@ -536,20 +535,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
# 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)
|
||||||
bible_text = u'%s %s %s\n' % (bible_text, verse_text, text)
|
bible_text = u'%s %s %s\n' % (bible_text, verse_text, text)
|
||||||
#if first:
|
|
||||||
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
|
||||||
# We add a line break if the previously verse has a different
|
|
||||||
# book or bible version.
|
|
||||||
#elif bible != old_bible or book != old_book:
|
|
||||||
# bible_text = u'%s\n%s %s' % (bible_text, verse_text,
|
|
||||||
# text)
|
|
||||||
#else:
|
|
||||||
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
|
|
||||||
#if first:
|
|
||||||
# first = False
|
|
||||||
old_chapter = chapter
|
old_chapter = chapter
|
||||||
#old_book = book
|
|
||||||
#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