You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#DEV-VR - Manual merge of from DevMain @ CL 4166765
#RB:none #CodeReview: nick.whiting [CL 4169831 by Jason Bestimt in Dev-VR branch]
This commit is contained in:
@@ -275,7 +275,7 @@ private:
|
||||
);
|
||||
MenuBuilder.AddSubMenu(
|
||||
LOCTEXT("RecentPythonsSubMenu", "Recent Python Scripts"),
|
||||
LOCTEXT("RecentPythonsSubMenu_ToolTip", "Select a level to load"),
|
||||
LOCTEXT("RecentPythonsSubMenu_ToolTip", "Select a recent Python Script file and Execute it."),
|
||||
FNewMenuDelegate::CreateRaw(this, &FPythonCommandMenuImpl::MakeRecentPythonScriptMenu),
|
||||
false,
|
||||
FSlateIcon(FEditorStyle::GetStyleSetName(), "MainFrame.RecentLevels")
|
||||
@@ -288,7 +288,7 @@ private:
|
||||
if (RecentsFiles.IsValidIndex(Index))
|
||||
{
|
||||
FString PyCopied = RecentsFiles[Index];
|
||||
GEngine->Exec(NULL, *FString::Printf(TEXT("py %s"), *PyCopied));
|
||||
GEngine->Exec(NULL, *FString::Printf(TEXT("py \"%s\""), *PyCopied));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -318,7 +318,7 @@ private:
|
||||
bRecentsFilesDirty = true;
|
||||
}
|
||||
|
||||
GEngine->Exec(NULL, *FString::Printf(TEXT("py %s"), *OpenedFiles.Last()));
|
||||
GEngine->Exec(NULL, *FString::Printf(TEXT("py \"%s\""), *OpenedFiles.Last()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user