summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_window.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-26 22:37:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-26 22:38:21 +0300
commit1005a0df562affafe0b0deffde3e3b626e2f14b3 (patch)
treec005dfc62147451dcd16a46181d3a5aab5bac45d /plugins/TabSRMM/src/chat_window.cpp
parent9da0e2174a4d557f55c17fc0f82df3f6f34f58cf (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp
index 403f6f86be..e1315d7dee 100644
--- a/plugins/TabSRMM/src/chat_window.cpp
+++ b/plugins/TabSRMM/src/chat_window.cpp
@@ -255,7 +255,7 @@ int CChatRoomDlg::Resizer(UTILRESIZECONTROL *urc)
Utils::showDlgControl(m_hwnd, IDC_SPLITTERY, SW_HIDE);
if (m_si->iType != GCW_SERVER) {
- Utils::showDlgControl(m_hwnd, IDC_SRMM_NICKLIST, m_bNicklistEnabled ? SW_SHOW : SW_HIDE);
+ m_nickList.Show(m_bNicklistEnabled);
Utils::showDlgControl(m_hwnd, IDC_SPLITTERX, m_bNicklistEnabled ? SW_SHOW : SW_HIDE);
m_btnNickList.Enable(true);
@@ -267,7 +267,7 @@ int CChatRoomDlg::Resizer(UTILRESIZECONTROL *urc)
}
}
else {
- Utils::showDlgControl(m_hwnd, IDC_SRMM_NICKLIST, SW_HIDE);
+ m_nickList.Hide();
Utils::showDlgControl(m_hwnd, IDC_SPLITTERX, SW_HIDE);
}