Fix opening files from Finder on the Skia/OS X port

This commit is contained in:
David Capello 2016-04-11 17:25:54 -03:00
parent c900e4aa3c
commit 49f11648b3

View File

@ -1,5 +1,6 @@
// SHE library
// Copyright (C) 2012-2015 David Capello
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -28,6 +29,7 @@ public:
[m_app setActivationPolicy:NSApplicationActivationPolicyRegular];
[m_app setDelegate:m_appDelegate];
[m_app activateIgnoringOtherApps:YES];
[m_app finishLaunching];
return true;
}