Activate app explicitly on OS X on debug mode

This commit is contained in:
David Capello 2016-07-01 11:21:40 -03:00
parent 9897256d26
commit 485649a2da

View File

@ -669,6 +669,12 @@ void App::run()
she::instance()->activateApp();
#endif
#if _DEBUG
// On OS X, when we compile Aseprite on Debug mode, we're using it
// outside an app bundle, so we must active the app explicitly.
she::instance()->activateApp();
#endif
#ifdef ENABLE_UPDATER
// Launch the thread to check for updates.
app::CheckUpdateThreadLauncher checkUpdate(