don't add routes+VCAs separately to editor routes during startup; merge into single...
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 20:10:33 +0000 (16:10 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 20:33:02 +0000 (16:33 -0400)
gtk2_ardour/editor_routes.cc

index 878d8d336f81c8972a7bf60c920497997f8c64e2..63abf2e9010b0ebaea986124caa46d86cd58380a 100644 (file)
@@ -1464,15 +1464,12 @@ EditorRoutes::initial_display ()
                s.push_back (*ri);
        }
 
-       _editor->add_routes (r);
-
        VCAList v (_session->vca_manager().vcas());
        for (VCAList::iterator vi = v.begin(); vi != v.end(); ++vi) {
                s.push_back (*vi);
        }
-       s.sort (PresentationInfoEditorSorter ());
 
-       _editor->add_vcas (v);
+       _editor->add_stripables (s);
 }
 
 void