Skip to content

Commit

Permalink
ticket:5704 Remove the connection from the scene
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Nov 22, 2019
1 parent 2d9e7aa commit c5243a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -2122,6 +2122,7 @@ void GraphicsView::removeCurrentConnection()
{
if (isCreatingConnection()) {
setIsCreatingConnection(false);
removeItem(mpConnectionLineAnnotation);
delete mpConnectionLineAnnotation;
mpConnectionLineAnnotation = 0;
}
Expand Down

0 comments on commit c5243a7

Please sign in to comment.