Fix method call

This commit is contained in:
Tim Bentley 2011-08-26 11:21:47 +01:00
parent 869bc9bb20
commit 61feddd34e
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,6 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
``printer``
A *QPrinter* object.
"""
self.update_song_usage()
self.document.print_(printer)
def displaySizeChanged(self, display):
@ -344,6 +343,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
"""
if not self.printDialog.exec_():
return
self.update_song_usage()
# Print the document.
self.document.print_(self.printer)