mirror of
https://github.com/tnodir/fort
synced 2024-11-14 22:25:40 +00:00
UI: Do not open Alert Program in Auto-Learn mode
This commit is contained in:
parent
657e3ea156
commit
07d0296686
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user