diff --git a/ui/view.cpp b/ui/view.cpp index 0b45e499f7..feb59e55e7 100644 --- a/ui/view.cpp +++ b/ui/view.cpp @@ -73,8 +73,11 @@ void SetFocusedView(View *view) { void EnableFocusMovement(bool enable) { focusMovementEnabled = enable; - if (!enable) + if (!enable) { + if (focusedView) + focusedView->FocusChanged(FF_LOSTFOCUS); focusedView = 0; + } } bool IsFocusMovementEnabled() {