Update SbieView.cpp

This commit is contained in:
DavidXanatos 2023-05-23 22:56:34 +02:00
parent c7777393b8
commit 94ee63215c
1 changed files with 2 additions and 2 deletions

View File

@ -1463,10 +1463,10 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
{
QString Command = Action->data().toString();
if (Command.isEmpty())
Results.append(theGUI->RunStart(SandBoxes.first()->GetName(), "start_menu"));
Results.append(SandBoxes.first()->RunStart("start_menu"));
else {
auto pBoxEx = SandBoxes.first().objectCast<CSandBoxPlus>();
Results.append(theGUI->RunStart(SandBoxes.first()->GetName(), pBoxEx->GetFullCommand(Command)));
Results.append(SandBoxes.first()->RunStart(pBoxEx->GetFullCommand(Command)));
}
}