diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2010-11-14 13:21:50 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2010-12-12 15:24:09 +1100 |
commit | 120ea892a001db97c9ee83272e0c666e9825637a (patch) | |
tree | fd5d4a2d7cb8b7e523599d552abfb8dfb80fa944 /gitk | |
parent | ae4e3ff93df4489579400d8af0629cdd4e5a3e67 (diff) | |
download | git-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-x | gitk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |