summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2010-11-14 12:21:50 (GMT)
committerPaul Mackerras <paulus@samba.org>2010-12-12 04:24:09 (GMT)
commit120ea892a001db97c9ee83272e0c666e9825637a (patch)
treefd5d4a2d7cb8b7e523599d552abfb8dfb80fa944
parentae4e3ff93df4489579400d8af0629cdd4e5a3e67 (diff)
downloadgit-120ea892a001db97c9ee83272e0c666e9825637a.zip
git-120ea892a001db97c9ee83272e0c666e9825637a.tar.gz
git-120ea892a001db97c9ee83272e0c666e9825637a.tar.bz2
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>
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index c5aa844..8f65900 100755
--- a/gitk
+++ b/gitk
@@ -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