You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed issue in which Output Log context menu doesn't close when it loses focus.
#jira UE-5216 - Output Log context menu difficult to close [CL 2354673 by Richard TalbotWatkin in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
ec8b3c73ac
commit
a48bcdfd3a
@@ -1973,8 +1973,8 @@ void SEditableText::SummonContextMenu( const FVector2D& InLocation )
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
|
||||
const bool bFocusImmediatley = false;
|
||||
TSharedPtr< SWindow > ContextMenuWindowPinned = FSlateApplication::Get().PushMenu( SharedThis( this ), MenuBuilder.MakeWidget(), InLocation, FPopupTransitionEffect( FPopupTransitionEffect::ContextMenu ), bFocusImmediatley );
|
||||
const bool bFocusImmediately = true;
|
||||
TSharedPtr< SWindow > ContextMenuWindowPinned = FSlateApplication::Get().PushMenu( SharedThis( this ), MenuBuilder.MakeWidget(), InLocation, FPopupTransitionEffect( FPopupTransitionEffect::ContextMenu ), bFocusImmediately );
|
||||
ContextMenuWindow = ContextMenuWindowPinned;
|
||||
|
||||
// Make sure the window is valid. It's possible for the parent to already be in the destroy queue, for example if the editable text was configured to dismiss it's window during OnTextCommitted.
|
||||
|
||||
@@ -2076,8 +2076,8 @@ void SMultiLineEditableText::SummonContextMenu(const FVector2D& InLocation)
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
|
||||
const bool bFocusImmediatley = false;
|
||||
TSharedPtr< SWindow > ContextMenuWindowPinned = FSlateApplication::Get().PushMenu(SharedThis(this), MenuBuilder.MakeWidget(), InLocation, FPopupTransitionEffect(FPopupTransitionEffect::ContextMenu), bFocusImmediatley);
|
||||
const bool bFocusImmediately = true;
|
||||
TSharedPtr< SWindow > ContextMenuWindowPinned = FSlateApplication::Get().PushMenu(SharedThis(this), MenuBuilder.MakeWidget(), InLocation, FPopupTransitionEffect(FPopupTransitionEffect::ContextMenu), bFocusImmediately);
|
||||
ContextMenuWindow = ContextMenuWindowPinned;
|
||||
|
||||
// Make sure the window is valid. It's possible for the parent to already be in the destroy queue, for example if the editable text was configured to dismiss it's window during OnTextCommitted.
|
||||
|
||||
Reference in New Issue
Block a user