winecfg: Invalidate property sheet when font changed.

When you changed the font on the Desktop Integration tab, it wasn't
enabling the Apply button.
This commit is contained in:
Mark Harmstone 2015-06-11 18:17:26 +01:00 committed by Alexandre Julliard
parent 853d4343db
commit 3b9ac1b18a

View file

@ -1166,7 +1166,8 @@ static void on_select_font(HWND hDlg)
cf.lpLogFont = &(metrics[index].lf);
cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_NOSCRIPTSEL | CF_NOVERTFONTS;
ChooseFontW(&cf);
if (ChooseFontW(&cf))
SendMessageW(GetParent(hDlg), PSM_CHANGED, 0, 0);
}
INT_PTR CALLBACK