Skip to content

Commit

Permalink
- Update the model source code when line annotation is updated.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20128 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Apr 14, 2014
1 parent 7a1582e commit f99bd9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditGUI/Annotations/LineAnnotation.cpp
Expand Up @@ -655,6 +655,8 @@ void LineAnnotation::updateConnectionAnnotation()
OMCProxy *pOMCProxy = mpGraphicsView->getModelWidget()->getModelWidgetContainer()->getMainWindow()->getOMCProxy();
pOMCProxy->updateConnection(getStartComponentName(), getEndComponentName(),
mpGraphicsView->getModelWidget()->getLibraryTreeNode()->getNameStructure(), annotationString);
// make the model modified
mpGraphicsView->getModelWidget()->setModelModified();
}

void LineAnnotation::duplicate()
Expand Down

0 comments on commit f99bd9a

Please sign in to comment.