Force activation of the application after launch in debug builds.

This is required when running with TextMate’s Build & Run command, as the application is opened in the background.
This commit is contained in:
Ciarán Walsh
2008-08-15 18:30:41 +01:00
parent 45addc1f47
commit 18e2a519b3
+4
View File
@@ -15,6 +15,10 @@
- (ApplicationController*) init
{
#ifndef NDEBUG
[NSApp activateIgnoringOtherApps:YES];
#endif
if([[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load])
NSLog(@"Quick Look loaded!");