Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1216,6 +1216,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1215 unmodified lines | ||
| 1216 | 1216 | if (entity && entity->wantsKeyboardFocus()) { |
| 1217 | 1217 | setKeyboardFocusOverlay(UNKNOWN_OVERLAY_ID); |
| 1218 | 1218 | setKeyboardFocusEntity(entityItemID); |
| 1219 | + } else { | |
| 1220 | + setKeyboardFocusEntity(UNKNOWN_ENTITY_ID); | |
| 1219 | 1221 | } |
| 1220 | 1222 | }); |
| 1221 | 1223 | |