diff options
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index c0f1bf62d6..c208ff6b74 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -614,14 +614,14 @@ bool TSAPI GetAvatarVisibility(HWND hwndDlg, TWindowData *dat) dat->bShowAvatar = hideOverride == 1 ? 1 : dat->bShowAvatar;
// reloads avatars
- if (!dat->bShowAvatar)
- return false;
-
if (dat->hwndPanelPic) { // shows contact or user picture, depending on panel visibility
SendMessage(dat->hwndContactPic, AVATAR_SETPROTOCOL, 0, (LPARAM)dat->cache->getActiveProto());
Utils::setAvatarContact(dat->hwndPanelPic, dat->hContact);
}
else Utils::setAvatarContact(dat->hwndContactPic, dat->hContact);
+
+ if (!dat->bShowAvatar)
+ return false;
}
return dat->bShowAvatar;
}
|