You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
FSourceControlModule::ShowLoginDialog will now properly show the window as modal if needed when RootWindow is NULL
[CL 2322621 by Michael Trepka in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
aad459c06d
commit
6de96b021a
@@ -149,7 +149,14 @@ void FSourceControlModule::ShowLoginDialog(const FSourceControlLoginClosed& InOn
|
||||
}
|
||||
else
|
||||
{
|
||||
FSlateApplication::Get().AddWindow(SourceControlLoginWindowPtr.ToSharedRef());
|
||||
if(InLoginWindowMode == ELoginWindowMode::Modal)
|
||||
{
|
||||
FSlateApplication::Get().AddModalWindow(SourceControlLoginWindowPtr.ToSharedRef(), RootWindow);
|
||||
}
|
||||
else
|
||||
{
|
||||
FSlateApplication::Get().AddWindow(SourceControlLoginWindowPtr.ToSharedRef());
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user