Commit 620f1e29 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed k12 mode where opening existing files erroneously enabled error mode

parent c44eeec0
......@@ -2970,7 +2970,7 @@ proc pdtk_canvas_new {name width height geometry editable} {
bind $name <FocusIn> "menu_fixeditmenu $name"
# bind $name <FocusOut> { pdtk_noselect %W }
if { $k12_mode == 1 } { menu_tooltips $name }
if { $k12_mode == 1 && $editable } { menu_tooltips $name }
focus $name.c
if { $k12_mode == 1 && $k12_saveas_on_new == 1 } {
......
Supports Markdown
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