diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat_tools.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_tools.cpp b/plugins/TabSRMM/src/chat_tools.cpp index 256648b33c..0caa7224a3 100644 --- a/plugins/TabSRMM/src/chat_tools.cpp +++ b/plugins/TabSRMM/src/chat_tools.cpp @@ -213,9 +213,9 @@ void DoFlashAndSoundWorker(FLASH_PARAMS *p) if (dat) {
p->bInactive = dat->m_pContainer->m_hwnd != GetForegroundWindow();
p->bActiveTab = (dat->m_pContainer->m_hwndActive == si->pDlg->GetHwnd());
+ if (p->sound && dat->MustPlaySound())
+ SkinPlaySound(p->sound);
}
- if (p->sound && Utils::mustPlaySound(si->pDlg))
- SkinPlaySound(p->sound);
}
else if (p->sound)
SkinPlaySound(p->sound);
|