summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-30 16:58:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-30 16:58:24 +0300
commit3ee69607b2594b47d1d5da10bd3b5c30e60d9114 (patch)
treebd5fd6dddd509a0af7416b5dbcd09aba9f17f7e3 /plugins/TabSRMM/src
parent3b358f31e21e97978db552a2535c056d866b51cf (diff)
fixes #3470 (Не блокировать кнопку включения/выключения фильтра)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 4d3ba096da..32bf54c22d 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1130,8 +1130,7 @@ int CMsgDialog::Resizer(UTILRESIZECONTROL *urc)
m_nickList.Show(m_bNicklistEnabled);
Utils::showDlgControl(m_hwnd, IDC_SPLITTERX, m_bNicklistEnabled ? SW_SHOW : SW_HIDE);
- m_btnNickList.Enable(true);
- m_btnFilter.Enable(m_iLogFilterFlags != 0);
+ m_btnNickList.Enable();
if (m_si->iType == GCW_CHATROOM)
m_btnChannelMgr.Enable(m_si->pMI->bChanMgr);
}
@@ -1139,9 +1138,9 @@ int CMsgDialog::Resizer(UTILRESIZECONTROL *urc)
m_nickList.Hide();
Utils::showDlgControl(m_hwnd, IDC_SPLITTERX, SW_HIDE);
- m_btnNickList.Enable(false);
- m_btnFilter.Enable(false);
- m_btnChannelMgr.Enable(false);
+ m_btnNickList.Disable();
+ m_btnFilter.Disable();
+ m_btnChannelMgr.Disable();
}
bNick = m_si->iType != GCW_SERVER && m_bNicklistEnabled;