summaryrefslogtreecommitdiffstats
path: root/library/print.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/print.tcl')
-rw-r--r--library/print.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/print.tcl b/library/print.tcl
index 941e841..f6049ec 100644
--- a/library/print.tcl
+++ b/library/print.tcl
@@ -844,6 +844,8 @@ namespace eval ::tk::print {
button $p.frame.buttonframe.cancel -text [mc "Cancel"] -command {destroy ._print}
pack $p.frame.buttonframe.printbutton $p.frame.buttonframe.cancel -side right -fill x -expand no
+ #Center the window as a dialog.
+ ::tk::PlaceWindow $p
}