better solution of 3c25d26e9
authorRobin Gareus <robin@gareus.org>
Tue, 21 Feb 2017 11:25:57 +0000 (12:25 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 21 Feb 2017 11:25:57 +0000 (12:25 +0100)
gtk2_ardour/editor_routes.cc

index 119387f366de97080757b0e72f3c8665f0741406..b1618bde49b12892daad4d100434d04bfc7f3c4b 100644 (file)
@@ -1582,13 +1582,14 @@ struct PresentationInfoVCASorter
 void
 EditorRoutes::initial_display ()
 {
-       _model->clear ();
 
        if (!_session) {
+               _model->clear ();
                return;
        }
 
        DisplaySuspender ds;
+       _model->clear ();
 
        StripableList s;