diff options
-rw-r--r-- | src/mir_core/src/ui_utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp index bc937f0d29..3249499003 100644 --- a/src/mir_core/src/ui_utils.cpp +++ b/src/mir_core/src/ui_utils.cpp @@ -1590,6 +1590,8 @@ BOOL CCtrlTreeView::OnNotify(int, NMHDR *pnmh) if (m_bCheckBox && (hti.flags & TVHT_ONITEMICON) || !m_bCheckBox && (hti.flags & TVHT_ONITEMSTATEICON)) {
if (m_bCheckBox)
InvertCheck(hti.hItem);
+ else
+ SelectItem(hti.hItem);
NotifyChange();
}
}
|