From 485649a2daf47858548d95f3040e34dde2e4488e Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 1 Jul 2016 11:21:40 -0300 Subject: [PATCH] Activate app explicitly on OS X on debug mode --- src/app/app.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/app.cpp b/src/app/app.cpp index 4df0d7c6b..3deda9e12 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -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(