summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r--src/gui/Port.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 28c3c6af..ebeb5e83 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -126,8 +126,9 @@ Port::port_label(App& app, SPtr<const PortModel> pm)
} else {
const SPtr<const BlockModel> parent(
dynamic_ptr_cast<const BlockModel>(pm->parent()));
- if (parent && parent->plugin_model())
+ if (parent && parent->plugin_model()) {
label = parent->plugin_model()->port_human_name(pm->index());
+ }
}
} else {
label = pm->path().symbol();