diff options
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r-- | src/gui/PatchPortModule.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp index e716a12d..3c04d29e 100644 --- a/src/gui/PatchPortModule.cpp +++ b/src/gui/PatchPortModule.cpp @@ -119,10 +119,11 @@ PatchPortModule::show_human_names(bool b) { const URIs& uris = app().uris(); const Atom& name = _model->get_property(uris.lv2_name); - if (b && name.type() == uris.forge.String) + if (b && name.type() == uris.forge.String) { set_name(name.get_string()); - else + } else { set_name(_model->symbol().c_str()); + } } void |