mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fixed issue Adjust position of vertices using arrow keys not working on output display #77
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user