diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-25 15:47:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-25 15:47:41 +0300 |
commit | 2399415bb543d77fae4028b6d2d9d9eecc4ea9b0 (patch) | |
tree | 82e59d7bc3460af3ffcd16880b34fb0d3413faeb /protocols/YAMN/src/browser | |
parent | 518515b5ceb6420e9f447573c9b0d918e589f599 (diff) |
fixes #3750 (YAMN: опция принудительного показа вспл. окон не всегда работает)
Diffstat (limited to 'protocols/YAMN/src/browser')
-rw-r--r-- | protocols/YAMN/src/browser/mailbrowser.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/YAMN/src/browser/mailbrowser.cpp b/protocols/YAMN/src/browser/mailbrowser.cpp index a4b3b03a5f..28e6c87f1d 100644 --- a/protocols/YAMN/src/browser/mailbrowser.cpp +++ b/protocols/YAMN/src/browser/mailbrowser.cpp @@ -330,9 +330,12 @@ int UpdateMails(HWND hDlg, CAccount *ActualAccount, uint32_t nflags, uint32_t nn RunMailBrowser = FALSE;
// if some popups with mails are needed to show
- if ((nflags & YAMN_ACC_POP) && (ActualAccount->Flags & YAMN_ACC_POPN) && (MN.Real.PopupNC + MN.Virtual.PopupNC))
+ if (nflags & YAMN_ACC_FORCEPOP)
RunPopups = TRUE;
- else RunPopups = FALSE;
+ else if ((nflags & YAMN_ACC_POP) && (ActualAccount->Flags & YAMN_ACC_POPN) && (MN.Real.PopupNC + MN.Virtual.PopupNC))
+ RunPopups = TRUE;
+ else
+ RunPopups = FALSE;
if (RunMailBrowser)
ChangeExistingMailStatus(GetDlgItem(hDlg, IDC_LISTMAILS), ActualAccount);
|