diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 934e23ecb1..a6df9b1a96 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -338,7 +338,9 @@ void Application::slotownCloudWizardDone(int res) shouldSetAutoStart = shouldSetAutoStart && QCoreApplication::applicationDirPath().startsWith("/Applications/"); #endif - Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), shouldSetAutoStart); + if (shouldSetAutoStart) { + Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), true); + } _gui->slotShowSettings(); }