Fix bug with Treeview_SelectItem reselecting the same item.
This commit is contained in:
parent
af056e7e24
commit
30cde9b1a8
|
@ -4130,9 +4130,6 @@ TREEVIEW_DoSelectItem(TREEVIEW_INFO *infoPtr, INT action, HTREEITEM newSelect,
|
||||||
case TVGN_CARET:
|
case TVGN_CARET:
|
||||||
prevSelect = infoPtr->selectedItem;
|
prevSelect = infoPtr->selectedItem;
|
||||||
|
|
||||||
if (prevSelect == newSelect)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
if (TREEVIEW_SendTreeviewNotify(infoPtr,
|
if (TREEVIEW_SendTreeviewNotify(infoPtr,
|
||||||
TVN_SELCHANGINGW,
|
TVN_SELCHANGINGW,
|
||||||
cause,
|
cause,
|
||||||
|
|
Loading…
Reference in New Issue