From d6c1f1c99a93109a6a94d4437d05abac71fbd354 Mon Sep 17 00:00:00 2001 From: kunalgosar Date: Fri, 24 Feb 2017 18:18:48 -0800 Subject: [PATCH] Fixed Wed Entity not leaving Focus --- interface/src/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 3de7906f56..3b5a17ae92 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1216,6 +1216,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo if (entity && entity->wantsKeyboardFocus()) { setKeyboardFocusOverlay(UNKNOWN_OVERLAY_ID); setKeyboardFocusEntity(entityItemID); + } else { + setKeyboardFocusEntity(UNKNOWN_ENTITY_ID); } });