Commit 5bbdcaaa authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

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

parent a3af1361
......@@ -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 expando should not be expanded unless
/* The label should not be expanded unless
* double-clicked. */
if(tvhit.flags == TVHT_ONITEMBUTTON)
if(tvhit.flags == TVHT_ONITEMLABEL)
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