summaryrefslogtreecommitdiff
path: root/ui/builders/join.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/builders/join.cpp')
-rw-r--r--ui/builders/join.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/builders/join.cpp b/ui/builders/join.cpp
index 9fbbae9..ee14d63 100644
--- a/ui/builders/join.cpp
+++ b/ui/builders/join.cpp
@@ -49,5 +49,7 @@ BuilderJoin::click(
Link::CCollection
BuilderJoin::create(Network * network, const Node::Ptr & p1, const Node::Ptr & p2) const
{
- return network->addJoins(p1->pos, p2->pos);
+ const auto links = network->addJoins(p1->pos, p2->pos);
+ setHeightsFor(network, links);
+ return links;
}