remove mysterious -width 1 -height 1 options when creating .graphdialog toplevel window. It seems a long standing bug, and not surprisingly it shows problems on MacOS/XQuartz
This commit is contained in:
parent
ac07510513
commit
cb1b8a09a6
|
|
@ -1944,8 +1944,9 @@ proc graph_edit_properties {n} {
|
|||
if { [winfo exists .graphdialog]} {
|
||||
set geom [winfo geometry .graphdialog]
|
||||
}
|
||||
puts "geom-->$geom"
|
||||
catch {destroy .graphdialog}
|
||||
toplevel .graphdialog -width 1 -height 1
|
||||
toplevel .graphdialog ;# -width 1 -height 1
|
||||
update idletasks
|
||||
if {$geom ne {}} { wm geometry .graphdialog $geom}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue