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 <mdl123@verizon.net>
Mark Levedahl committed
Jun 26, 2007 at 21:51 UTC
281404ca1db4c921ac162f3c03ae0688d25c5a65
1 file changed
+1
-1
gitk
+1
-1
@@ -7004,7 +7004,7 @@ proc doprefs {} {
7004
grid x $top.hunksepbut $top.hunksep -sticky w
7005
label $top.selbgsep -padx 40 -relief sunk -background $selectbgcolor
7006
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]
7008
grid x $top.selbgbut $top.selbgsep -sticky w
7009
7010
frame $top.buts