Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit ef02fdd

Browse files
committed
Allow connections directly from the connectors
1 parent fdf0ab1 commit ef02fdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ Component* GraphicsView::connectorComponentAtPosition(QPoint position)
14191419
(mpModelWidget->getLibraryTreeItem()->getLibraryType() == LibraryTreeItem::CompositeModel &&
14201420
pComponent->getComponentType() == Component::Port) ||
14211421
(mpModelWidget->getLibraryTreeItem()->getLibraryType() == LibraryTreeItem::OMS &&
1422-
pComponent->getComponentType() == Component::Port))) {
1422+
(pComponent->getLibraryTreeItem()->getOMSConnector() || pComponent->getComponentType() == Component::Port)))) {
14231423
return pComponent;
14241424
}
14251425
}

0 commit comments

Comments
 (0)