aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2010-11-14 13:21:50 +0100
committerPaul Mackerras <paulus@samba.org>2010-12-12 15:24:09 +1100
commit120ea892a001db97c9ee83272e0c666e9825637a (patch)
treefd5d4a2d7cb8b7e523599d552abfb8dfb80fa944 /gitk
parentae4e3ff93df4489579400d8af0629cdd4e5a3e67 (diff)
downloadgit-120ea892a001db97c9ee83272e0c666e9825637a.tar.gz
git-120ea892a001db97c9ee83272e0c666e9825637a.tar.xz
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>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index c5aa844ef..8f6590076 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