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:
parent
853d4343db
commit
3b9ac1b18a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue