better solution of 3c25d26e9

This commit is contained in:
Robin Gareus 2017-02-21 12:25:57 +01:00
parent 3c25d26e91
commit 9de5c61b9e

View File

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