summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94b4a69)
raw | patch | inline | side by side (parent: 94b4a69)
author | Paul Mackerras <paulus@samba.org> | |
Thu, 22 May 2008 11:12:19 +0000 (21:12 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 22 May 2008 11:12:19 +0000 (21:12 +1000) |
Commit 94503a66c56c935e77a8fbe3622f1f56b7134ccc ("gitk: Fix "wrong #
coordinates" error on reload") was correct as far as it went, but
introduced a problem because it didn't also clear out boldrows and
boldnamerows in clear_display. This resulted in Tcl errors after
scrolling through the graph for a while if some rows were highlighted.
This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
coordinates" error on reload") was correct as far as it went, but
introduced a problem because it didn't also clear out boldrows and
boldnamerows in clear_display. This resulted in Tcl errors after
scrolling through the graph for a while if some rows were highlighted.
This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 45ebcaf6dd195a522dfd4ca2d7ae588051770bb1..22bcd18a4671b3bdd78f065c65bdaf042ba4a77e 100755 (executable)
--- a/gitk
+++ b/gitk
proc clear_display {} {
global iddrawn linesegs need_redisplay nrows_drawn
global vhighlights fhighlights nhighlights rhighlights
- global linehtag linentag linedtag
+ global linehtag linentag linedtag boldrows boldnamerows
allcanvs delete all
catch {unset iddrawn}
catch {unset linehtag}
catch {unset linentag}
catch {unset linedtag}
+ set boldrows {}
+ set boldnamerows {}
catch {unset vhighlights}
catch {unset fhighlights}
catch {unset nhighlights}