mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue