diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index e7783c779e..ca7ee8d98c 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1262,8 +1262,7 @@ bool Application::event(QEvent* event) { if (!_keyboardFocusedItem.isInvalidID()) { switch (event->type()) { case QEvent::KeyPress: - case QEvent::KeyRelease: - { + case QEvent::KeyRelease: { auto entityScriptingInterface = DependencyManager::get(); auto entity = entityScriptingInterface->getEntityTree()->findEntityByID(_keyboardFocusedItem); RenderableWebEntityItem* webEntity = dynamic_cast(entity.get()); @@ -1274,7 +1273,10 @@ bool Application::event(QEvent* event) { return true; } } + break; } + + default: break; } }