From 11125df575f0017ab82c35c0e251205041daae2b Mon Sep 17 00:00:00 2001 From: Rob McBroom Date: Thu, 23 Jan 2014 17:42:19 -0500 Subject: [PATCH] don't send app launch notifications when reloading fixes #1756 --- Quicksilver/Code-QuickStepCore/QSProcessMonitor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quicksilver/Code-QuickStepCore/QSProcessMonitor.m b/Quicksilver/Code-QuickStepCore/QSProcessMonitor.m index 5755e3499..e12c03f70 100644 --- a/Quicksilver/Code-QuickStepCore/QSProcessMonitor.m +++ b/Quicksilver/Code-QuickStepCore/QSProcessMonitor.m @@ -312,8 +312,8 @@ - (void)addProcessWithPSN:(ProcessSerialNumber)psn { if (!isReloading) { [self didChangeValueForKey:[thisProcess isBackground] ? @"backgroundProcesses" : @"visibleProcesses"]; [self didChangeValueForKey:@"allProcesses"]; + [[NSNotificationCenter defaultCenter] postNotificationName:@"QSEventNotification" object:@"QSApplicationLaunchEvent" userInfo:[NSDictionary dictionaryWithObject:procObject forKey:@"object"]]; } - [[NSNotificationCenter defaultCenter] postNotificationName:@"QSEventNotification" object:@"QSApplicationLaunchEvent" userInfo:[NSDictionary dictionaryWithObject:procObject forKey:@"object"]]; } }