forked from openlp/openlp
Fix method call
This commit is contained in:
parent
869bc9bb20
commit
61feddd34e
@ -296,7 +296,6 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
|||||||
``printer``
|
``printer``
|
||||||
A *QPrinter* object.
|
A *QPrinter* object.
|
||||||
"""
|
"""
|
||||||
self.update_song_usage()
|
|
||||||
self.document.print_(printer)
|
self.document.print_(printer)
|
||||||
|
|
||||||
def displaySizeChanged(self, display):
|
def displaySizeChanged(self, display):
|
||||||
@ -344,6 +343,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
|||||||
"""
|
"""
|
||||||
if not self.printDialog.exec_():
|
if not self.printDialog.exec_():
|
||||||
return
|
return
|
||||||
|
self.update_song_usage()
|
||||||
# Print the document.
|
# Print the document.
|
||||||
self.document.print_(self.printer)
|
self.document.print_(self.printer)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user