diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 10 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 9 |
2 files changed, 9 insertions, 10 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index a3b069b3c4..a440cb82a5 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -627,13 +627,13 @@ void CMsgDialog::MessageDialogResize(int w, int h) 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);
}
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;
|