summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/proto
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-08 18:49:12 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-08 18:49:12 +0300
commit386f7d6f8c8cbfa846f552f72a899c4e045a613c (patch)
tree6f4163445923a8e49bae09c3c08128345e8cca39 /protocols/YAMN/src/proto
parentff741d4148025ccb9d62a4dba9ebba4c7da34b5a (diff)
fixes #3716 (YAMN: удалить настройку "кнопка в панели кнопок")
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r--protocols/YAMN/src/proto/pop3/pop3opt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.cpp b/protocols/YAMN/src/proto/pop3/pop3opt.cpp
index 8f36604033..2828fb232e 100644
--- a/protocols/YAMN/src/proto/pop3/pop3opt.cpp
+++ b/protocols/YAMN/src/proto/pop3/pop3opt.cpp
@@ -143,7 +143,6 @@ struct CGeneralOptDlg : public CBaseOptionsDlg
bool OnInitDialog() override
{
- CheckDlgButton(m_hwnd, IDC_CHECKTTB, g_plugin.getByte(YAMN_TTBFCHECK, 1) ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(m_hwnd, IDC_LONGDATE, (optDateTime & SHOWDATELONG) ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(m_hwnd, IDC_SMARTDATE, (optDateTime & SHOWDATENOTODAY) ? BST_UNCHECKED : BST_CHECKED);
CheckDlgButton(m_hwnd, IDC_SECONDS, (optDateTime & SHOWDATENOSECONDS) ? BST_UNCHECKED : BST_CHECKED);
@@ -154,9 +153,6 @@ struct CGeneralOptDlg : public CBaseOptionsDlg
bool OnApply() override
{
g_plugin.setByte(YAMN_CLOSEDELETE, IsDlgButtonChecked(m_hwnd, IDC_CLOSEONDELETE));
- g_plugin.setByte(YAMN_TTBFCHECK, IsDlgButtonChecked(m_hwnd, IDC_CHECKTTB));
-
- AddTopToolbarIcon(0, 0);
optDateTime = 0;
if (IsDlgButtonChecked(m_hwnd, IDC_LONGDATE)) optDateTime |= SHOWDATELONG;