From e68177b6344d8cd9b5e464a3012beae0163306ae Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Fri, 15 Apr 2016 11:16:38 +0200 Subject: [PATCH] ui: Fixed backspace not working when focus is on graph --- src/lib_gui/qt/graphics/QtGraphicsView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib_gui/qt/graphics/QtGraphicsView.cpp b/src/lib_gui/qt/graphics/QtGraphicsView.cpp index c4325992..232b8594 100644 --- a/src/lib_gui/qt/graphics/QtGraphicsView.cpp +++ b/src/lib_gui/qt/graphics/QtGraphicsView.cpp @@ -76,6 +76,7 @@ void QtGraphicsView::keyPressEvent(QKeyEvent* event) m_shift = true; break; default: + QGraphicsView::keyPressEvent(event); return; } @@ -127,7 +128,7 @@ void QtGraphicsView::wheelEvent(QWheelEvent* event) void QtGraphicsView::update() { - float ds = 25.0f; + float ds = 30.0f; float dz = 50.0f; float x = 0.0f;