git-gui: Save geometry before the window layout is damaged
[gitweb.git] / lib / option.tcl
index 11dd9be6b95c2a1fd0155e49c45b5946aabf5f9e..b29e14e64dd305922f82556e8e445be42a9fbb38 100644 (file)
@@ -15,6 +15,9 @@ proc save_config {} {
                font configure ${font}bold \
                        -family $global_config_new(gui.$font^^family) \
                        -size $global_config_new(gui.$font^^size)
+               font configure ${font}italic \
+                       -family $global_config_new(gui.$font^^family) \
+                       -size $global_config_new(gui.$font^^size)
                set global_config_new(gui.$name) [font configure $font]
                unset global_config_new(gui.$font^^family)
                unset global_config_new(gui.$font^^size)