Skip to content

Commit

Permalink
Fixes ticket:4672 & 4673.
Browse files Browse the repository at this point in the history
Do not skip the drawing of inherited classes.
  • Loading branch information
adeas31 committed Dec 13, 2017
1 parent c200584 commit d748191
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -4620,8 +4620,10 @@ void ModelWidget::getModelInheritedClasses()
void ModelWidget::drawModelInheritedClassShapes(ModelWidget *pModelWidget, StringHandler::ViewType viewType)
{
foreach (LibraryTreeItem *pLibraryTreeItem, pModelWidget->getInheritedClassesList()) {
if (!pLibraryTreeItem->isNonExisting() && !pLibraryTreeItem->getModelWidget()) {
MainWindow::instance()->getLibraryWidget()->getLibraryTreeModel()->showModelWidget(pLibraryTreeItem, false);
if (!pLibraryTreeItem->isNonExisting()) {
if (!pLibraryTreeItem->getModelWidget()) {
MainWindow::instance()->getLibraryWidget()->getLibraryTreeModel()->showModelWidget(pLibraryTreeItem, false);
}
drawModelInheritedClassShapes(pLibraryTreeItem->getModelWidget(), viewType);
}
GraphicsView *pInheritedGraphicsView, *pGraphicsView;
Expand Down

0 comments on commit d748191

Please sign in to comment.