summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/proto_opts.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp
index 12308bea44..4d80ea16a6 100644
--- a/src/mir_app/src/proto_opts.cpp
+++ b/src/mir_app/src/proto_opts.cpp
@@ -749,8 +749,10 @@ LRESULT CAccountListCtrl::CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam)
case WM_LBUTTONUP:
{
POINT pt = { LOWORD(lParam), HIWORD(lParam) };
- if ((m_iItem >= 0) && PtInRect(&m_rcCheck, pt))
+ if ((m_iItem >= 0) && PtInRect(&m_rcCheck, pt)) {
+ PARENT()->m_iPrevSel = m_iItem;
PARENT()->OnAccountCheck(m_iItem);
+ }
m_iItem = -1;
}
break;