mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Element editor : hover a primitve will highlight it with a blue halo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3694 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -51,7 +51,8 @@ bool ESEventAddPolygon::mousePressEvent(QGraphicsSceneMouseEvent *event) {
|
||||
|
||||
//create new polygon
|
||||
if (!m_polygon) {
|
||||
m_polygon = new PartPolygon(m_editor, 0, m_scene);
|
||||
m_polygon = new PartPolygon(m_editor);
|
||||
m_scene -> addItem(m_polygon);
|
||||
m_polygon -> addPoint(pos);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user