Skip to content

Commit 281404c

Browse files
mark987paulusmack
authored andcommitted
gitk: Update selection background colorbar in prefs dialog
The callback function was incorrectly set to update the background colorbar when updated the selection background. This did not affect the colors chosen or their use, just their presentation in the preferences dialog box. Signed-off-by: Mark Levedahl <[email protected]>
1 parent 6bc9d1e commit 281404c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7004,7 +7004,7 @@ proc doprefs {} {
70047004
grid x $top.hunksepbut $top.hunksep -sticky w
70057005
label $top.selbgsep -padx 40 -relief sunk -background $selectbgcolor
70067006
button $top.selbgbut -text "Select bg" -font optionfont \
7007-
-command [list choosecolor selectbgcolor 0 $top.bg background setselbg]
7007+
-command [list choosecolor selectbgcolor 0 $top.selbgsep background setselbg]
70087008
grid x $top.selbgbut $top.selbgsep -sticky w
70097009

70107010
frame $top.buts

0 commit comments

Comments
 (0)