Fixed issue Adjust position of vertices using arrow keys not working on output display #77

This commit is contained in:
baydam
2014-11-05 17:17:37 +00:00
parent f6711ed7a8
commit 539d189f9d
5 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -93,6 +93,7 @@ void DestinationGLCanvas::doDraw(QPainter* painter)
painter->drawLine(0, cursorPosition.y(), geo.width(), cursorPosition.y());
}
}
}
void DestinationGLCanvas::_drawTestSignal(QPainter* painter)
@@ -145,8 +146,8 @@ bool DestinationGLCanvas::eventFilter(QObject *target, QEvent *event)
if (event->type() == QEvent::KeyPress)
{
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
setActiveVertexIndex(getMainWindow()->getOutputWindow()->getCanvas()->getActiveVertexIndex());
MapperGLCanvas::keyPressEvent(keyEvent);
qDebug() << "Test:" << keyEvent << endl;
return true;
}
else