History

PR comments

Brad Davis committed 11 years ago

Commit db956571 parent 208e41e1 file · +4 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+4−2
@@ -1262,8 +1262,7 @@ bool Application::event(QEvent* event) { · 1261 unmodified lines
12621262 if (!_keyboardFocusedItem.isInvalidID()) {
12631263 switch (event->type()) {
12641264 case QEvent::KeyPress:
1265− case QEvent::KeyRelease:
1266− {
1265+ case QEvent::KeyRelease: {
12671266 auto entityScriptingInterface = DependencyManager::get<EntityScriptingInterface>();
12681267 auto entity = entityScriptingInterface->getEntityTree()->findEntityByID(_keyboardFocusedItem);
12691268 RenderableWebEntityItem* webEntity = dynamic_cast<RenderableWebEntityItem*>(entity.get());
@@ -1274,7 +1273,10 @@ bool Application::event(QEvent* event) { · 4 unmodified lines
12741273 return true;
12751274 }
12761275 }
1276+ break;
12771277 }
1278+
1279+ default:
12781280 break;
12791281 }
12801282 }