diff --git a/src/lib/session/restoremanager.cpp b/src/lib/session/restoremanager.cpp index 9555fd89e..90ee0a26e 100644 --- a/src/lib/session/restoremanager.cpp +++ b/src/lib/session/restoremanager.cpp @@ -91,6 +91,10 @@ void RestoreManager::createFromFile(const QString &file, QVector &da tabStream >> tab; tabs.append(tab); } + + if (tabs.count() == 0) + continue; + wd.tabsState = tabs; int currentTab;