Add warning

This commit is contained in:
love-code-yeyixiao 2024-07-01 18:51:03 +08:00
parent 721f2da032
commit 3a25dc6b11
1 changed files with 6 additions and 1 deletions

View File

@ -1652,8 +1652,13 @@ void CSandMan::OnMessage(const QString& MsgData)
} }
} }
else {
QMessageBox::warning(g_GUIParent, tr("Sandboxie-Plus Warning"), tr("You typed a wrong box name!Nothing was changed."), QMessageBox::Ok, 0);
}
}
else {
QMessageBox::warning(g_GUIParent, tr("Sandboxie-Plus Warning"), tr("Users canceled this operation."), QMessageBox::Yes, 0);
} }
} }
else if (Message.left(4) == "Run:") else if (Message.left(4) == "Run:")
{ {