Skip to content

Commit

Permalink
fixes #3525 (StdUserInfo: падение при просмотре юзеринфо найденного п…
Browse files Browse the repository at this point in the history
…оиском контакта)
  • Loading branch information
georgehazan committed May 28, 2023
1 parent bcf4329 commit 012dd92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/stduserinfo/src/userinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ class CUserInfoDlg : public CDlgBase
}

m_tree.SendMsg(WM_SETREDRAW, TRUE, 0);
m_tree.SelectItem(m_pCurrent->hItem);
if (m_pCurrent)
m_tree.SelectItem(m_pCurrent->hItem);
SetFocus(m_tree.GetHwnd());
}

Expand Down

0 comments on commit 012dd92

Please sign in to comment.