summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-31 20:13:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-31 20:13:33 +0000
commit7ae400e128d88851138f1d4dbcf4c3ec508d9163 (patch)
treeb6ed96b2d27a978f8efde9f7a5580ee5025e1dbf /plugins
parent94b79e81e2d4677815aaab9155fe341090822f83 (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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp1
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;