Module: wine Branch: master Commit: 5bbdcaaa16018c9e15cbaadb3a6e5954d0089cf1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5bbdcaaa16018c9e15cbaadb3a...
Author: Andrew Eikum aeikum@codeweavers.com Date: Tue Oct 20 11:43:13 2015 -0500
explorerframe: Allow treeview expandos to open with a single click.
Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/explorerframe/nstc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c index 87a7200..e8a2c54 100644 --- a/dlls/explorerframe/nstc.c +++ b/dlls/explorerframe/nstc.c @@ -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))