kopia lustrzana https://github.com/ctjacobs/pyqso
Use the parent window in the Gtk.PrintOperation.run call.
rodzic
2f11f80221
commit
326aa513d9
|
@ -618,7 +618,7 @@ class Logbook(Gtk.Notebook):
|
|||
|
||||
operation.connect("begin_print", self.begin_print)
|
||||
operation.connect("draw_page", self.draw_page)
|
||||
result = operation.run(action, None)
|
||||
result = operation.run(action, parent=self.parent)
|
||||
return
|
||||
|
||||
def begin_print(self, operation, context):
|
||||
|
|
Ładowanie…
Reference in New Issue