mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:47:41 +02:00
Fixed Wed Entity not leaving Focus
This commit is contained in:
parent
8e91fc3dde
commit
d6c1f1c99a
1 changed files with 2 additions and 0 deletions
|
@ -1216,6 +1216,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
||||||
if (entity && entity->wantsKeyboardFocus()) {
|
if (entity && entity->wantsKeyboardFocus()) {
|
||||||
setKeyboardFocusOverlay(UNKNOWN_OVERLAY_ID);
|
setKeyboardFocusOverlay(UNKNOWN_OVERLAY_ID);
|
||||||
setKeyboardFocusEntity(entityItemID);
|
setKeyboardFocusEntity(entityItemID);
|
||||||
|
} else {
|
||||||
|
setKeyboardFocusEntity(UNKNOWN_ENTITY_ID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue