Update SettingsWindow.cpp

This commit is contained in:
爱编程的叶一笑 2024-07-18 21:01:56 +08:00 committed by GitHub
parent 042862e59c
commit e09113d226
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ void CSettingsWindow::LoadSettings()
ui.chkStartBlock->setChecked(theAPI->GetGlobalSettings()->GetBool("StartRunAlertDenied", false));
ui.chkStartBlockMsg->setChecked(theAPI->GetGlobalSettings()->GetBool("AlertStartRunAccessDenied", true));
ui.chkNotForcedMsg->setChecked(theAPI->GetGlobalSettings()->GetBool("NotifyForceProcessDisabled", false));
ui.chkNotMsg->setChecked(theAPI->GetGlobalSettings()->GetBool("NotifyForceProcessDisabled", false));
ui.treeWarnProgs->clear();
@ -1603,7 +1603,7 @@ void CSettingsWindow::SaveSettings()
if (ui.chkShellMenu3->isChecked() != CSbieUtils::HasContextMenu3()) {
if (ui.chkShellMenu3->isChecked()) {
CSbieUtils::AddContextMenu3(QApplication::applicationDirPath().replace("/", "\\") + "\\SandMan.exe",
tr("Make Folder/File &Forced"),
tr("Add File/Folder to Sandbox &Force Process Configuration"),
QApplication::applicationDirPath().replace("/", "\\") + "\\Start.exe");
}
else