diff options
-rw-r--r-- | src/core/stdmsg/src/msgs.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp index 90c1210714..fff89593d1 100644 --- a/src/core/stdmsg/src/msgs.cpp +++ b/src/core/stdmsg/src/msgs.cpp @@ -69,10 +69,11 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) bool CMsgDialog::IsActive() const
{
- if (!g_Settings.bTabsEnable)
- return true;
+ bool bRes = m_pOwner->IsActive();
+ if (g_Settings.bTabsEnable && bRes)
+ bRes &= m_pOwner->m_tab.GetActivePage() == this;
- return m_pOwner->m_tab.GetActivePage() == this && m_pOwner->IsActive();
+ return bRes;
}
void CMsgDialog::StartFlash()
|