gitk: fix setting font display with new tabbed dialog layout.
The changes to the dialog window tree broke the preview of the selected font on the button. This corrects that issue. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Pat Thoyts committed
Apr 1, 2012 at 23:00 UTC
39ddf99c1db8b230ec7bdefc6ce3c769d1cf4ab6
1 file changed
+1
-1
gitk
+1
-1
@@ -10795,7 +10795,7 @@ proc fontok {} {
10795
if {$fontparam(slant) eq "italic"} {
10796
lappend fontpref($f) "italic"
10797
}
10798
- set w $prefstop.$f
10798
+ set w $prefstop.notebook.fonts.$f
10799
$w conf -text $fontparam(family) -font $fontpref($f)
10800
10801
fontcan