change placement of ruler divider so that the lower line is at the specified height...
[ardour.git] / gtk2_ardour / port_group.cc
index cafcaad51fc44bf9da6b4023953f233dc33d886d..448a8d3cf55840bb0a45728bf2d350cfb63253fa 100644 (file)
@@ -610,7 +610,12 @@ PortGroupList::make_bundle_from_ports (std::vector<std::string> const & p, ARDOU
        }
 
        for (uint32_t j = 0; j < p.size(); ++j) {
-               b->add_channel (p[j].substr (pre.length()), type);
+               std::string n = p[j].substr (pre.length());
+               std::string pn = AudioEngine::instance()->get_pretty_name_by_name (p[j]);
+               if (!pn.empty()) {
+                       n = pn;
+               }
+               b->add_channel (n, type);
                b->set_port (j, p[j]);
        }