summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PortPropertiesWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/PortPropertiesWindow.cpp')
-rw-r--r--src/libs/gui/PortPropertiesWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/PortPropertiesWindow.cpp b/src/libs/gui/PortPropertiesWindow.cpp
index c975d289..3d69e648 100644
--- a/src/libs/gui/PortPropertiesWindow.cpp
+++ b/src/libs/gui/PortPropertiesWindow.cpp
@@ -65,7 +65,7 @@ PortPropertiesWindow::init(ControlGroup* control, SharedPtr<PortModel> pm)
float min = 0.0f, max = 1.0f;
boost::shared_ptr<NodeModel> parent = PtrCast<NodeModel>(_port_model->parent());
if (parent)
- parent->port_value_range(_port_model->path().name(), min, max);
+ parent->port_value_range(_port_model, min, max);
_initial_min = min;
_initial_max = max;