From 012dd922c842311ccc6dbe11ee2e100ff2df28ec Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 May 2023 19:21:33 +0300 Subject: =?UTF-8?q?fixes=20#3525=20(StdUserInfo:=20=D0=BF=D0=B0=D0=B4?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B8=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=20=D1=8E=D0=B7=D0=B5?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D1=84=D0=BE=20=D0=BD=D0=B0=D0=B9=D0=B4=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=B0?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/stduserinfo/src/userinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/stduserinfo') diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp index a8757ab008..f5d87ec211 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -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()); } -- cgit v1.2.3