summaryrefslogtreecommitdiffstats
path: root/demos/help.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2004-08-13 20:22:04 (GMT)
committertreectrl <treectrl>2004-08-13 20:22:04 (GMT)
commitd36ed7b18ec85c7cb1e7646322fc487f9d6326bf (patch)
tree9e8818f214f56eda63a79d54102d06d09dca710c /demos/help.tcl
parent141a06fabeed20f8ba4e430a8057dc75b7a1ffff (diff)
downloadtktreectrl-d36ed7b18ec85c7cb1e7646322fc487f9d6326bf.zip
tktreectrl-d36ed7b18ec85c7cb1e7646322fc487f9d6326bf.tar.gz
tktreectrl-d36ed7b18ec85c7cb1e7646322fc487f9d6326bf.tar.bz2
Move "selection modify" call because hidden items can't be selected.
Diffstat (limited to 'demos/help.tcl')
-rw-r--r--demos/help.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/help.tcl b/demos/help.tcl
index 0ac2526..803fd72 100644
--- a/demos/help.tcl
+++ b/demos/help.tcl
@@ -259,12 +259,12 @@ proc TreeCtrl::HelpButton1 {w x y} {
}
}
}
- $w selection modify $item all
$w activate $item
foreach item2 [$w item ancestors $item] {
$w item expand $item2
}
$w item toggle $item
+ $w selection modify $item all
}
return
}