diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-25 15:43:12 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-25 15:43:12 +0300 |
commit | 5b53a45fd65e78f34eb77dea268c591d675cfec3 (patch) | |
tree | 785d16f80848a937ef5cb70972af94f8f2c24829 /src/core | |
parent | 0f9e1002ec21154bc476fbfeab0d21f796515823 (diff) |
StdUserInfo: fix for "Update" button behavior
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stduserinfo/src/userinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp index f3c28024b0..d843147daf 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -138,7 +138,8 @@ class CUserInfoDlg : public CDlgBase hIcolib = (HANDLE)it->lParam;
else if (it->szProto)
hIcolib = Skin_GetProtoIcon(it->szProto, ID_STATUS_ONLINE);
- else if (hContact)
+
+ if (hContact && !it->szProto)
it->szProto = Proto_GetBaseAccountName(hContact);
if (hIcolib) {
|