UI: Do not open Alert Program in Auto-Learn mode

This commit is contained in:
Nodir Temirkhodjaev 2024-10-07 17:16:11 +05:00
parent 657e3ea156
commit 07d0296686

View File

@ -612,6 +612,9 @@ void TrayIcon::updateAppGroupActions()
void TrayIcon::sendAlertMessage()
{
if (conf()->allowAllNew())
return; // do not notify in Auto-Learn mode
if (iniUser()->progNotifyMessage()) {
windowManager()->showTrayMessage(
tr("New program detected!"), WindowManager::TrayMessageAlert);