diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-31 20:13:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-31 20:13:33 +0000 |
commit | 7ae400e128d88851138f1d4dbcf4c3ec508d9163 (patch) | |
tree | b6ed96b2d27a978f8efde9f7a5580ee5025e1dbf | |
parent | 94b79e81e2d4677815aaab9155fe341090822f83 (diff) |
hide avatar in the info panel if there's nothing to display
git-svn-id: http://svn.miranda-ng.org/main/trunk@10011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index ee9471ab64..9406db148b 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1643,6 +1643,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP SetWindowPos(dat->hwndPanelPicParent, HWND_TOP, rc.left - 2, rc.top, rc.right - rc.left, (rc.bottom - rc.top) + 1, 0);
ShowWindow(dat->hwndPanelPicParent, (dat->panelWidth == -1) || !dat->Panel->isActive() ? SW_HIDE : SW_SHOW);
}
+ else ShowWindow(dat->hwndPanelPicParent, SW_HIDE);
dat->rcPic = rc;
|