forked from openlp/openlp
Fix test and remove debug prints
This commit is contained in:
parent
3d8d573389
commit
a3fdaff2c4
@ -1303,7 +1303,6 @@ class SlideController(QtWidgets.QWidget, LogMixin, RegistryProperties):
|
|||||||
[self.service_item, self.is_live])
|
[self.service_item, self.is_live])
|
||||||
# Check id we have tried to go before that start slide
|
# Check id we have tried to go before that start slide
|
||||||
if self.is_live and before_start and before_start[0]:
|
if self.is_live and before_start and before_start[0]:
|
||||||
print('detected before start!')
|
|
||||||
if self.slide_limits == SlideLimits.Wrap:
|
if self.slide_limits == SlideLimits.Wrap:
|
||||||
self.on_slide_selected_index([self.preview_widget.slide_count() - 1])
|
self.on_slide_selected_index([self.preview_widget.slide_count() - 1])
|
||||||
elif self.is_live and self.slide_limits == SlideLimits.Next:
|
elif self.is_live and self.slide_limits == SlideLimits.Next:
|
||||||
|
@ -553,7 +553,7 @@ class ImpressDocument(PresentationDocument):
|
|||||||
titles.append(self.__get_text_from_page(slide_no, TextType.Title).replace('\r\n', ' ')
|
titles.append(self.__get_text_from_page(slide_no, TextType.Title).replace('\r\n', ' ')
|
||||||
.replace('\n', ' ').strip())
|
.replace('\n', ' ').strip())
|
||||||
note = self.__get_text_from_page(slide_no, TextType.Notes)
|
note = self.__get_text_from_page(slide_no, TextType.Notes)
|
||||||
if not note:
|
if len(note) == 0:
|
||||||
note = ' '
|
note = ' '
|
||||||
notes.append(note)
|
notes.append(note)
|
||||||
self.save_titles_and_notes(titles, notes)
|
self.save_titles_and_notes(titles, notes)
|
||||||
|
@ -205,7 +205,6 @@ class Controller(object):
|
|||||||
return False
|
return False
|
||||||
ret = self.doc.previous_step()
|
ret = self.doc.previous_step()
|
||||||
self.poll()
|
self.poll()
|
||||||
print('previous returning: %d' % ret)
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user