do not use text widget -selectbackground on tcl8.4
This commit is contained in:
parent
ecbbb68447
commit
ad07999dd3
|
|
@ -1892,7 +1892,13 @@ proc graph_update_nodelist {} {
|
|||
}
|
||||
set b [lindex $colors $col_idx]
|
||||
.graphdialog.center.right.text1 tag add t$n "1.0 + $t chars" "1.0 + $c chars"
|
||||
.graphdialog.center.right.text1 tag configure t$n -background $b -selectbackground grey40
|
||||
|
||||
if { [info tclversion] > 8.4} {
|
||||
.graphdialog.center.right.text1 tag configure t$n -background $b -selectbackground grey40
|
||||
} else {
|
||||
.graphdialog.center.right.text1 tag configure t$n -background $b
|
||||
}
|
||||
|
||||
incr n
|
||||
}
|
||||
# remove excess colors
|
||||
|
|
|
|||
Loading…
Reference in New Issue