better solution of 3c25d26e9

This commit is contained in:
Robin Gareus 2017-02-21 12:25:57 +01:00
parent 3c25d26e91
commit 9de5c61b9e
1 changed files with 2 additions and 1 deletions

View File

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