@matheusbsbs / matheus-bagliano / commits / 120ea892a0
Fork 0

gitk: Prevent the text pane from becoming editable

When setting the "Patch/Tree" radio buttons to "Tree" and clicking on a file to display it, the text pane would accidentally become editable (because of the early return in getblobline). Signed-off-by: Stefan Haller <stefan@haller-berlin.de> Signed-off-by: Paul Mackerras <paulus@samba.org>

Stefan Haller committed Nov 14, 2010 at 13:21 UTC 120ea892a001db97c9ee83272e0c666e9825637a
1 file changed +1
gitk
+1
@@ -7327,6 +7327,7 @@ proc getblobline {bf id} {
7327 [lindex [split $commentend .] 0]}]
7328 mark_ctext_line $lnum
7329 }
7330 + $ctext config -state disabled
7331 return 0
7332 }
7333 $ctext config -state disabled