projects
/
tkinspect
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f744a
)
Fix bug in windows_info:clear.
author
sls
<sls>
Wed, 21 Jun 1995 21:07:30 +0000
(21:07 +0000)
committer
sls
<sls>
Wed, 21 Jun 1995 21:07:30 +0000
(21:07 +0000)
windows_info.tcl
patch
|
blob
|
history
diff --git
a/windows_info.tcl
b/windows_info.tcl
index be0c399ec56c43d5c7d6638ae764de167b515638..f005d774fd09d76c93d9999b82feca1ffea700f4 100644
(file)
--- a/
windows_info.tcl
+++ b/
windows_info.tcl
@@
-9,7
+9,9
@@
object_class windows_info {
member windows {}
method clear {} {
foreach w $slot(windows) {
- unset slot($w.class)
+ if [info exists slot($w.class)] {
+ unset slot($w.class)
+ }
}
set slot(windows) {}
}