mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user