Add position mouse cursor in DiagramView

This commit is contained in:
Simon De Backer
2020-09-25 22:06:11 +02:00
parent 546433cac2
commit f77255c762

View File

@@ -466,6 +466,7 @@ void DiagramView::mousePressEvent(QMouseEvent *e)
*/
void DiagramView::mouseMoveEvent(QMouseEvent *e)
{
setToolTip(tr("(Dev) X: %1 Y: %2").arg(e->pos().x()).arg(e->pos().y()));
if (m_event_interface && m_event_interface->mouseMoveEvent(e)) return;
//Drag the view