diff --git a/core/ui/UIWidget.cpp b/core/ui/UIWidget.cpp index 2377dc58ea11..dbfe97d2d334 100644 --- a/core/ui/UIWidget.cpp +++ b/core/ui/UIWidget.cpp @@ -1284,6 +1284,8 @@ void Widget::setFocused(bool focus) { _focusNavigationController->setFirstFocusedWidget(this); } + } else if(_focusedWidget == this) { + _focusedWidget = nullptr; } }