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>
This commit is contained in:
Stefan Haller 2010-11-14 13:21:50 +01:00 committed by Paul Mackerras
parent ae4e3ff93d
commit 120ea892a0

1
gitk
View File

@ -7327,6 +7327,7 @@ proc getblobline {bf id} {
[lindex [split $commentend .] 0]}]
mark_ctext_line $lnum
}
$ctext config -state disabled
return 0
}
$ctext config -state disabled