Merge pull request #1357 from borgmanJeremy/fix_config_autostart

fixed glitch with autostart checkboux
This commit is contained in:
borgmanJeremy
2021-02-19 12:42:28 -06:00
committed by GitHub

View File

@@ -368,6 +368,8 @@ bool ConfigHandler::verifyLaunchFile()
void ConfigHandler::setStartupLaunch(const bool start)
{
m_settings.setValue(QStringLiteral("startupLaunch"), start);
if (start == m_settings.value(QStringLiteral("startupLaunch")).toBool()) {
return;
}
@@ -447,7 +449,6 @@ void ConfigHandler::setStartupLaunch(const bool start)
bootUpPath.endGroup();
}
#endif
m_settings.setValue(QStringLiteral("startupLaunch"), start);
}
bool ConfigHandler::showStartupLaunchMessage()