Добавлено закрытие дополнительных окон по Escape
This commit is contained in:
parent
50c061f491
commit
30ff9428fc
|
@ -898,7 +898,7 @@ proc AddToplevel {lbl img {win_name .add}} {
|
|||
grid $frm_btn -row 1 -column 1 -sticky sew -padx 0 -pady 0
|
||||
pack $frm_btn.btn_cancel $frm_btn.btn_ok -side right -padx 5 -pady 5
|
||||
#pack $frm_btn.btn_ok -side right -padx 2
|
||||
|
||||
bind .add <Escape> $cmd
|
||||
return $frm
|
||||
}
|
||||
|
||||
|
@ -2596,4 +2596,5 @@ proc Del::inet {tree host profile_name} {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -122,8 +122,3 @@ pack $frm_tree $frm_work -side left -expand true -fill both
|
|||
.panel add $frm_tree -weight 1
|
||||
.panel add $frm_work -weight 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user