From 8ce94115c993e22f7b26e8952a45a1b804e99140 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 31 Jul 2019 17:26:25 +0100 Subject: [PATCH] Fix service Print code --- openlp/core/ui/printserviceform.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openlp/core/ui/printserviceform.py b/openlp/core/ui/printserviceform.py index 0f8ea064b..e81f82f9a 100644 --- a/openlp/core/ui/printserviceform.py +++ b/openlp/core/ui/printserviceform.py @@ -219,13 +219,13 @@ class PrintServiceForm(QtWidgets.QDialog, Ui_PrintServiceDialog, RegistryPropert verse_def = None verse_html = None for slide in item.get_frames(): - if not verse_def or verse_def != slide['verseTag'] or verse_html == slide['printing_html']: + if not verse_def or verse_def != slide['verse'] or verse_html == slide['text']: text_div = self._add_element('div', parent=div, class_id='itemText') - elif 'chordspacing' not in slide['printing_html']: + elif 'chordspacing' not in slide['text']: self._add_element('br', parent=text_div) - self._add_element('span', slide['printing_html'], text_div) - verse_def = slide['verseTag'] - verse_html = slide['printing_html'] + self._add_element('span', slide['text'], text_div) + verse_def = slide['verse'] + verse_html = slide['text'] # Break the page before the div element. if index != 0 and self.page_break_after_text.isChecked(): div.set('class', 'item newPage')