Skip to content

Commit 120ea89

Browse files
stefanhallerpaulusmack
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent ae4e3ff commit 120ea89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7327,6 +7327,7 @@ proc getblobline {bf id} {
73277327
[lindex [split $commentend .] 0]}]
73287328
mark_ctext_line $lnum
73297329
}
7330+
$ctext config -state disabled
73307331
return 0
73317332
}
73327333
$ctext config -state disabled

0 commit comments

Comments
 (0)