Commit 58500912 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

Revert "explorerframe: Allow treeview expandos to open with a single click.".

This reverts commit 5bbdcaaa. Signed-off-by: 's avatarAndrew Eikum <aeikum@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 8492b193
......@@ -686,9 +686,9 @@ static LRESULT on_nm_click(NSTC2Impl *This, NMHDR *nmhdr)
psi = shellitem_from_treeitem(This, tvhit.hItem);
hr = events_OnItemClick(This, psi, tvhit.flags, NSTCECT_LBUTTON);
/* The label should not be expanded unless
/* The expando should not be expanded unless
* double-clicked. */
if(tvhit.flags == TVHT_ONITEMLABEL)
if(tvhit.flags == TVHT_ONITEMBUTTON)
return TRUE;
if(SUCCEEDED(hr))
......
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