diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-08 18:18:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-10 19:45:55 +0300 |
commit | 0943ae89e869ded753e5fbc5b64dca458a8f31b8 (patch) | |
tree | 7a661c8402302df8a4eb2d20b97218e346d896c9 /protocols/Tox/src/tox_options.cpp | |
parent | acd0d6c62891a2e3fa0bf94b66b93e65e5922e24 (diff) |
CCtrlListView::MoveItem, CCtrlListView::SetCurSel, CCtrlCombo::SelectData - new useful methods
(cherry picked from commit 9661e86b4d2e1280b6e5e562ffafb46d1b6c0817)
Diffstat (limited to 'protocols/Tox/src/tox_options.cpp')
-rw-r--r-- | protocols/Tox/src/tox_options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index 781c279d7e..1c3a463a6f 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -330,7 +330,7 @@ public: if (m_iItem == -1) {
m_iItem = m_list->AddItem(ipv4, -1, NULL, 1);
- m_list->SetItemState(m_iItem, LVIS_FOCUSED | LVIS_SELECTED, 0x000F);
+ m_list->SetCurSel(m_iItem);
m_list->EnsureVisible(m_iItem, TRUE);
}
else
|