aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/EdgeView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/EdgeView.cpp b/src/gui/EdgeView.cpp
index 7daf8ea..5bdf227 100644
--- a/src/gui/EdgeView.cpp
+++ b/src/gui/EdgeView.cpp
@@ -84,7 +84,7 @@ EdgeView::probability() const
double
EdgeView::length_hint() const
{
- NodeView* tail = dynamic_cast<NodeView*>(source());
+ NodeView* tail = dynamic_cast<NodeView*>(get_tail());
return tail->node()->get(URIs::instance().machina_duration).get_float() * 10.0;
}