Update SbieView.cpp
This commit is contained in:
parent
c7777393b8
commit
94ee63215c
|
@ -1463,10 +1463,10 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
|
||||||
{
|
{
|
||||||
QString Command = Action->data().toString();
|
QString Command = Action->data().toString();
|
||||||
if (Command.isEmpty())
|
if (Command.isEmpty())
|
||||||
Results.append(theGUI->RunStart(SandBoxes.first()->GetName(), "start_menu"));
|
Results.append(SandBoxes.first()->RunStart("start_menu"));
|
||||||
else {
|
else {
|
||||||
auto pBoxEx = SandBoxes.first().objectCast<CSandBoxPlus>();
|
auto pBoxEx = SandBoxes.first().objectCast<CSandBoxPlus>();
|
||||||
Results.append(theGUI->RunStart(SandBoxes.first()->GetName(), pBoxEx->GetFullCommand(Command)));
|
Results.append(SandBoxes.first()->RunStart(pBoxEx->GetFullCommand(Command)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue