make raw file selector invoked from graphdialog always on top of it (use -parent option)

This commit is contained in:
stefan schippers 2025-05-26 00:09:23 +02:00
parent ac629b62be
commit c2a3c48228
1 changed files with 1 additions and 1 deletions

View File

@ -8731,7 +8731,7 @@ proc select_raw {} {
}
if {[info exists has_x]} {
set filename [tk_getOpenFile -title "Select file" -multiple 0 -initialdir $netlist_dir \
-initialfile [file tail $filename] -filetypes $types]
-parent .graphdialog -initialfile [file tail $filename] -filetypes $types]
}
return $filename
}