This commit is contained in:
love-code-yeyixiao 2024-07-01 20:13:02 +08:00
parent 3f67d63696
commit 88c9d4fe32
1 changed files with 2 additions and 2 deletions

View File

@ -1645,10 +1645,10 @@ void CSandMan::OnMessage(const QString& MsgData)
{
if (theAPI->GetBoxByName(respone) != NULL) {
if (Message.right(1)=="\\"||!Message.contains(".", Qt::CaseInsensitive)) {
theAPI->GetBoxByName(respone)->AppendText("ForceFolder", Message.mid(4));
theAPI->GetBoxByName(respone)->AppendText("ForceFolder", Message.mid(4).replace("\"",""));
}
else {
theAPI->GetBoxByName(respone)->AppendText("ForceProcess", Message.mid(4));
theAPI->GetBoxByName(respone)->AppendText("ForceProcess", Message.mid(4).replace("\"", "").mid(Message.lastIndexOf("/")));
}
}