From cbca5e9cc951657509f63d46d84eb8be96f3da9e Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Fri, 9 Oct 2020 17:53:37 +0100 Subject: [PATCH] Allow SetFocusProperly to be called by blueprints --- Source/StevesUEHelpers/Public/StevesUI/FocusableUserWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/StevesUEHelpers/Public/StevesUI/FocusableUserWidget.h b/Source/StevesUEHelpers/Public/StevesUI/FocusableUserWidget.h index 4bff758..5ee33dc 100644 --- a/Source/StevesUEHelpers/Public/StevesUI/FocusableUserWidget.h +++ b/Source/StevesUEHelpers/Public/StevesUI/FocusableUserWidget.h @@ -14,7 +14,7 @@ class STEVESUEHELPERS_API UFocusableUserWidget : public UUserWidget public: /// UWidget::SetFocus is not virtual FFS. This does the same as SetFocus by default but can be overridden, /// e.g. to delegate focus to specific children - UFUNCTION(BlueprintNativeEvent) + UFUNCTION(BlueprintNativeEvent, BlueprintCallable) void SetFocusProperly(); };