forked from openlp/openlp
Fixes
This commit is contained in:
parent
8f39de8e61
commit
2ce4aeba92
@ -122,7 +122,7 @@ def critical_error_message_box(title=None, message=None, parent=None,
|
||||
Should this message box question the user.
|
||||
"""
|
||||
if question:
|
||||
return QtGui.QMessageBox.critical(parent, error, message,
|
||||
return QtGui.QMessageBox.critical(parent, UiStrings.Error, message,
|
||||
QtGui.QMessageBox.StandardButtons(
|
||||
QtGui.QMessageBox.Yes | QtGui.QMessageBox.No))
|
||||
data = {u'message': message}
|
||||
|
@ -429,7 +429,7 @@ class ImpressDocument(PresentationDocument):
|
||||
``slide_no``
|
||||
The slide the text is required for, starting at 1
|
||||
"""
|
||||
return __get_text_from_slide(slide_no)
|
||||
return self.__get_text_from_page(slide_no)
|
||||
|
||||
def get_slide_notes(self, slide_no):
|
||||
"""
|
||||
@ -438,7 +438,7 @@ class ImpressDocument(PresentationDocument):
|
||||
``slide_no``
|
||||
The slide the notes are required for, starting at 1
|
||||
"""
|
||||
return __get_text_from_page(slide_no, True)
|
||||
return self.__get_text_from_page(slide_no, True)
|
||||
|
||||
def __get_text_from_page(self, slide_no, notes=False):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user