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:
parent
8492b19395
commit
585009124a
|
@ -686,9 +686,9 @@ static LRESULT on_nm_click(NSTC2Impl *This, NMHDR *nmhdr)
|
||||||
psi = shellitem_from_treeitem(This, tvhit.hItem);
|
psi = shellitem_from_treeitem(This, tvhit.hItem);
|
||||||
hr = events_OnItemClick(This, psi, tvhit.flags, NSTCECT_LBUTTON);
|
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. */
|
* double-clicked. */
|
||||||
if(tvhit.flags == TVHT_ONITEMLABEL)
|
if(tvhit.flags == TVHT_ONITEMBUTTON)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if(SUCCEEDED(hr))
|
if(SUCCEEDED(hr))
|
||||||
|
|
Loading…
Reference in New Issue