diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-30 16:58:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-30 16:58:24 +0300 |
commit | 3ee69607b2594b47d1d5da10bd3b5c30e60d9114 (patch) | |
tree | bd5fd6dddd509a0af7416b5dbcd09aba9f17f7e3 /src/core | |
parent | 3b358f31e21e97978db552a2535c056d866b51cf (diff) |
fixes #3470 (Не блокировать кнопку включения/выключения фильтра)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index c4496270ae..14e25a9ef1 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -561,13 +561,13 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) m_nickList.Hide();
if (m_si->iType == GCW_SERVER) {
- m_btnNickList.Enable(false);
- m_btnFilter.Enable(false);
- m_btnChannelMgr.Enable(false);
+ m_btnNickList.Disable();
+ m_btnFilter.Disable();
+ m_btnChannelMgr.Disable();
}
else {
- m_btnNickList.Enable(true);
- m_btnFilter.Enable(true);
+ m_btnNickList.Enable();
+ m_btnFilter.Enable();
if (m_si->iType == GCW_CHATROOM)
m_btnChannelMgr.Enable(m_si->pMI->bChanMgr);
}
|