Commit 82779d9d authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*added check for canvas scroll to make sure window exists (fixes stderr errors)

parent 02d1dfce
......@@ -4296,6 +4296,7 @@ proc pdtk_find_highest_widget_withtag {canvas name} {
#}
proc pdtk_canvas_getscroll {name} {
if {![winfo exists $name]} {return}
set parentname [winfo parent $name]
if {$::scroll($parentname) == 0} {return}
# if {$::editmode($parentname) == 0} {
......
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