summaryrefslogtreecommitdiffstats
path: root/src/PatchagePort.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r--src/PatchagePort.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp
index 693091a..e2e6679 100644
--- a/src/PatchagePort.hpp
+++ b/src/PatchagePort.hpp
@@ -49,7 +49,9 @@ public:
virtual ~PatchagePort() {}
/** Returns the full name of this port, as "modulename:portname" */
- std::string full_name() const { return _module->name() + ":" + _name; }
+ std::string full_name() const {
+ return std::string(_module->get_label()) + ":" + get_label();
+ }
bool on_click(GdkEventButton* ev) {
if (ev->button != 3) {