summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-19 11:44:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-19 11:44:31 +0000
commit400d7bb71630f774dc9392cad37a22528958e2bc (patch)
tree7f6f67b83a470cab36d8dc2bcc4366e03983c23c
parentb90b0d6dc5f5418b2bf45d13b5885fdab4c55997 (diff)
one another minor interface glitch fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@13692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/mir_core/src/ui_utils.cpp2
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();
}
}