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

This reverts commit 5bbdcaaa16.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrew Eikum 2015-11-25 07:07:10 -06:00 committed by Alexandre Julliard
parent 8492b19395
commit 585009124a
1 changed files with 2 additions and 2 deletions

View File

@ -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))