Skip to content

Commit 7150e7f

Browse files
authored
Fix manually rerouting of connections (on WSL?) (#7116)
1 parent ae799cb commit 7150e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,6 +1554,7 @@ void ShapeAnnotation::cornerItemReleased(const bool changed)
15541554
pLineAnnotation->updateOMSConnection();
15551555
pModelWidget->createOMSimulatorUndoCommand(QString("Update OMS Connection connect(%1, %2)").arg(pLineAnnotation->getStartComponentName(), pLineAnnotation->getEndComponentName()));
15561556
pModelWidget->updateModelText();
1557+
return;
15571558
}
15581559
} else {
15591560
if (pLineAnnotation && pLineAnnotation->getLineType() == LineAnnotation::ConnectionType) {

0 commit comments

Comments
 (0)