You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Correctly open tutorial when opening an asset for a tutorial.
Make sure we have an overlay constructed for the window we just created for the asset. TTP# 347174 - TUTORIAL: When clicking on a sub editor tutorial, the tutorial does not automatically popup if the sub editor is not already opened [CL 2305305 by Thomas Sarkanen in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
525b290de8
commit
f9b46bc4d6
@@ -116,6 +116,12 @@ void STutorialRoot::LaunchTutorial(UEditorTutorial* InTutorial, bool bInRestart,
|
||||
if(Toolkit.IsValid())
|
||||
{
|
||||
InNavigationWindow = FSlateApplication::Get().FindWidgetWindow(Toolkit->GetToolkitHost()->GetParentWidget());
|
||||
|
||||
// make sure we have a valid tutorial overlay
|
||||
if(InNavigationWindow.IsValid())
|
||||
{
|
||||
MaybeAddOverlay(InNavigationWindow.Pin().ToSharedRef());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user