Skip to content

Commit

Permalink
Fix selection problem in Front view
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Apr 10, 2019
1 parent ade224c commit e13747c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/Mod/TechDraw/Gui/QGIPrimPath.cpp
Expand Up @@ -240,4 +240,5 @@ void QGIPrimPath::mousePressEvent(QGraphicsSceneMouseEvent * event)
Base::Console().Log("QGIPP::mousePressEvent - no QGIView parent\n");
}
}
QGraphicsPathItem::mousePressEvent(event);
}
6 changes: 1 addition & 5 deletions src/Mod/TechDraw/Gui/QGIView.cpp
Expand Up @@ -192,11 +192,7 @@ void QGIView::mousePressEvent(QGraphicsSceneMouseEvent * event)
{
signalSelectPoint(this, event->pos());

if(m_locked) {
event->ignore();
} else {
QGraphicsItem::mousePressEvent(event);
}
QGraphicsItemGroup::mousePressEvent(event);
}

void QGIView::mouseMoveEvent(QGraphicsSceneMouseEvent * event)
Expand Down

2 comments on commit e13747c

@berndhahnebach
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

congrats to the commit not merged by yorik or werner :-)

@WandererFan
Copy link
Contributor Author

@WandererFan WandererFan commented on e13747c Apr 12, 2019 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.