From 496c8ce6679d96a6b7653286b907fd420b51bbad Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Mon, 30 Jan 2012 23:38:42 +0000 Subject: [PATCH] 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 --- gitk-git/gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitk-git/gitk b/gitk-git/gitk index dcae0a7547..a62f25d549 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -10751,7 +10751,7 @@ proc fontok {} { if {$fontparam(slant) eq "italic"} { lappend fontpref($f) "italic" } - set w $prefstop.$f + set w $prefstop.notebook.fonts.$f $w conf -text $fontparam(family) -font $fontpref($f) fontcan