mirror of
https://github.com/StefanSchippers/xschem.git
synced 2026-08-22 06:07:29 +02:00
register WM_DELETE_WINDOW action to correctly close bindkey window
This commit is contained in:
+3
-2
@@ -8551,9 +8551,10 @@ proc show_bindkeys {} {
|
|||||||
# set dark_colorscheme $save
|
# set dark_colorscheme $save
|
||||||
# xschem build_colors
|
# xschem build_colors
|
||||||
|
|
||||||
bind .bk <ButtonPress> {xschem preview_window destroy .bk }
|
bind .bk <ButtonPress> {xschem preview_window destroy .bk}
|
||||||
bind .bk <KeyPress> {xschem preview_window destroy .bk }
|
bind .bk <KeyPress> {xschem preview_window destroy .bk}
|
||||||
bind .bk <Expose> {xschem preview_window draw .bk }
|
bind .bk <Expose> {xschem preview_window draw .bk }
|
||||||
|
wm protocol .bk WM_DELETE_WINDOW {xschem preview_window destroy .bk}
|
||||||
}
|
}
|
||||||
|
|
||||||
proc set_bindings {topwin} {
|
proc set_bindings {topwin} {
|
||||||
|
|||||||
Reference in New Issue
Block a user