summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-10-28 16:45:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-10-28 16:45:50 (GMT)
commit2c7448ee7a61cc6f89bfffb8410af6662c9ce6ce (patch)
tree23626731e495185e1c889b98a9e7ca66a4813339 /library
parent3e8df0bd27a22fd54be7c6b1b1e5b14b403371ba (diff)
parentab6d53027cf2347ee194bed0cb5ce40564f50558 (diff)
downloadtk-2c7448ee7a61cc6f89bfffb8410af6662c9ce6ce.zip
tk-2c7448ee7a61cc6f89bfffb8410af6662c9ce6ce.tar.gz
tk-2c7448ee7a61cc6f89bfffb8410af6662c9ce6ce.tar.bz2
merge 8.6
Diffstat (limited to 'library')
-rw-r--r--library/ttk/treeview.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/ttk/treeview.tcl b/library/ttk/treeview.tcl
index 0b5d953..4158739 100644
--- a/library/ttk/treeview.tcl
+++ b/library/ttk/treeview.tcl
@@ -120,7 +120,8 @@ proc ttk::treeview::ActivateHeading {w heading} {
variable State
if {$w != $State(activeWidget) || $heading != $State(activeHeading)} {
- if {[winfo exists $State(activeWidget)] && $State(activeHeading) != {}} {
+ if {[winfo exists $State(activeWidget)] && $State(activeHeading) != {}
+ && $State(activeHeading) in [$State(activeWidget) cget -displaycolumns]} {
$State(activeWidget) heading $State(activeHeading) state !active
}
if {$heading != {}} {