fix #2363 theme font changes both whenever one is changed

This commit is contained in:
蝦米
2019-03-04 11:00:57 +08:00
committed by GitHub
parent 1ab636a4f1
commit 388a8b6346

View File

@@ -290,7 +290,7 @@ namespace Wox.ViewModel
get get
{ {
var typeface = SyntaxSugars.CallOrRescueDefault( var typeface = SyntaxSugars.CallOrRescueDefault(
() => SelectedQueryBoxFont.ConvertFromInvariantStringsOrNormal( () => SelectedResultFont.ConvertFromInvariantStringsOrNormal(
Settings.ResultFontStyle, Settings.ResultFontStyle,
Settings.ResultFontWeight, Settings.ResultFontWeight,
Settings.ResultFontStretch Settings.ResultFontStretch