Skip to content

Commit

Permalink
Fixed deleting of shapes/components. Unselect the shapes so that they…
Browse files Browse the repository at this point in the history
… don't next signal next time.

New Component creation structure.
  • Loading branch information
adeas31 committed Nov 18, 2015
1 parent ffbc45f commit ef0a109
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 144 deletions.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Annotations/ShapeAnnotation.cpp
Expand Up @@ -1009,8 +1009,8 @@ void ShapeAnnotation::referenceShapeAdded()
if (mpGraphicsView) {
mpGraphicsView->addItem(this);
} else if (mpParentComponent) {
mpParentComponent->shapeAdded();
setVisible(true);
mpParentComponent->shapeAdded();
}
}
}
Expand Down

0 comments on commit ef0a109

Please sign in to comment.