ui: Fixed backspace not working when focus is on graph

This commit is contained in:
Eberhard Graether
2016-04-15 11:16:38 +02:00
parent 637cbf88ac
commit e68177b634
+2 -1
View File
@@ -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;