Commit 79ccea0c authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

made save dialog open on top of the relevant patch

parent ccb4dd96
......@@ -3840,7 +3840,8 @@ proc pdtk_canvas_saveas {name initfile initdir} {
global pd_nt filetypes untitled_directory
if { ! [file isdirectory $initdir]} {set initdir $::env(HOME)}
set filename [tk_getSaveFile -initialfile $initfile -initialdir $initdir \
-defaultextension .pd -filetypes $filetypes]
-defaultextension .pd -filetypes $filetypes \
-parent $name]
if {$filename eq ""} return; # they clicked cancel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment