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])
|
||||
# Check id we have tried to go before that start slide
|
||||
if self.is_live and before_start and before_start[0]:
|
||||
print('detected before start!')
|
||||
if self.slide_limits == SlideLimits.Wrap:
|
||||
self.on_slide_selected_index([self.preview_widget.slide_count() - 1])
|
||||
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', ' ')
|
||||
.replace('\n', ' ').strip())
|
||||
note = self.__get_text_from_page(slide_no, TextType.Notes)
|
||||
if not note:
|
||||
if len(note) == 0:
|
||||
note = ' '
|
||||
notes.append(note)
|
||||
self.save_titles_and_notes(titles, notes)
|
||||
|
@ -205,7 +205,6 @@ class Controller(object):
|
||||
return False
|
||||
ret = self.doc.previous_step()
|
||||
self.poll()
|
||||
print('previous returning: %d' % ret)
|
||||
return ret
|
||||
|
||||
def shutdown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user