winecfg: Fix title reset when removing application from the list.

This commit is contained in:
Dmitry Kozliuk 2014-12-16 01:42:37 +03:00 committed by Alexandre Julliard
parent d3a3595e91
commit b4e261480d
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ static void on_remove_app_click(HWND dialog)
item.mask = LVIF_STATE;
item.state = LVIS_SELECTED | LVIS_FOCUSED;
item.stateMask = LVIS_SELECTED | LVIS_FOCUSED;
SendMessageW(listview, LVM_SETITEMSTATE, -1, (LPARAM)&item);
SendMessageW(listview, LVM_SETITEMSTATE, 0, (LPARAM)&item);
SetFocus(listview);
SendMessageW(GetParent(dialog), PSM_CHANGED, (WPARAM) dialog, 0);