Commit b4e26148 authored by Dmitry Kozliuk's avatar Dmitry Kozliuk Committed by Alexandre Julliard

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

parent d3a3595e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment