Update SettingsWindow.cpp

This commit is contained in:
DavidXanatos 2024-04-24 10:47:28 +02:00
parent dba441136a
commit 356955140b
1 changed files with 1 additions and 1 deletions

View File

@ -1567,7 +1567,7 @@ void CSettingsWindow::SaveSettings()
if (theAPI->IsConnected()) {
if (ui.chkSvcStart->checkState() == Qt::Checked) {
theAPI->GetUserSettings()->SetBool("SbieCtrl_EnableAutoStart", true);
theAPI->GetUserSettings()->SetText("SbieCtrl_AutoStartAgent", "SandMan.exe");
theAPI->GetUserSettings()->SetText("SbieCtrl_AutoStartAgent", "SandMan.exe -autorun");
}
else if (ui.chkSvcStart->checkState() == Qt::Unchecked)
theAPI->GetUserSettings()->SetBool("SbieCtrl_EnableAutoStart", false);