From 56fdabecb8a871532a30e6e403d5108e80586bf0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Feb 2019 20:56:51 +0300 Subject: fixes #1826 (TabSRMM: if a contact was added from clist, appropriate controls in tabSRMM window remains active) --- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index bc7451bfbb..625dbe7f8a 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1159,7 +1159,7 @@ void CSrmmWindow::onClick_Add(CCtrlButton*) Contact_Add(m_hContact, m_hwnd); if (!db_get_b(m_hContact, "CList", "NotOnList", 0)) { - m_bNotOnList = FALSE; + m_bNotOnList = false; ShowMultipleControls(m_hwnd, addControls, _countof(addControls), SW_HIDE); if (!(m_dwFlagsEx & MWF_SHOW_SCROLLINGDISABLED)) Utils::showDlgControl(m_hwnd, IDC_LOGFROZENTEXT, SW_HIDE); @@ -1257,7 +1257,7 @@ void CSrmmWindow::onClick_Quote(CCtrlButton*) void CSrmmWindow::onClick_CancelAdd(CCtrlButton*) { - m_bNotOnList = FALSE; + m_bNotOnList = false; ShowMultipleControls(m_hwnd, addControls, _countof(addControls), SW_HIDE); if (!(m_dwFlagsEx & MWF_SHOW_SCROLLINGDISABLED)) Utils::showDlgControl(m_hwnd, IDC_LOGFROZENTEXT, SW_HIDE); -- cgit v1.2.3