diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-08 18:28:42 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-08 18:28:42 +0300 |
commit | eebfe35f7b33e1d2d307369ce440e8c3239a79ac (patch) | |
tree | 5cbfc5f321f3ac58663daa00f3952c47918d9fd7 /protocols/YAMN/src/proto/pop3 | |
parent | caaaf9ffe9ac3c28f2e9459ac4afb34fcd59f72d (diff) |
fixes #3825 (YAMN: настройки всплывающих окон всё ещё имеют визуальные артефакты)
Diffstat (limited to 'protocols/YAMN/src/proto/pop3')
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3opt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.cpp b/protocols/YAMN/src/proto/pop3/pop3opt.cpp index bfec6d09e4..4ee9ff52a0 100644 --- a/protocols/YAMN/src/proto/pop3/pop3opt.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3opt.cpp @@ -831,7 +831,6 @@ public: {
WindowList_Add(MessageWnds, m_hwnd);
- DlgEnableAccountPopup(false);
DlgShowAccountPopup();
{
SReadGuard srb(POP3Plugin->AccountBrowserSO);
@@ -840,7 +839,7 @@ public: if (ActualAccount->Name != nullptr)
cmbAccount.AddStringA(ActualAccount->Name);
}
- ActualAccount = nullptr;
+
cmbAccount.SetCurSel(0);
onSelChange_Account(0);
return true;
@@ -944,6 +943,7 @@ public: SendDlgItemMessageA(m_hwnd, IDC_COMBOACCOUNT, CB_GETLBTEXT, (WPARAM)Result, (LPARAM)DlgInput);
if ((Result == CB_ERR) || (nullptr == (ActualAccount = (CPOP3Account*)FindAccountByName(POP3Plugin, DlgInput)))) {
DlgSetItemText(m_hwnd, (WPARAM)IDC_STTIMELEFT, nullptr);
+ DlgEnableAccountPopup(false);
}
else {
DlgShowAccount(ActualAccount);
|