fixed glitch with autostart checkboux

This commit is contained in:
Jeremy Borgman
2021-02-18 20:11:04 -06:00
parent 16fd3b2915
commit ba0432a1b5

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()