1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

RestoreManager: Don't append WindowData with empty tabsState to restore data

This commit is contained in:
srazi 2017-04-08 13:36:46 +04:30
parent 1d1c40ee7d
commit 0148b7aaff

View File

@ -91,6 +91,10 @@ void RestoreManager::createFromFile(const QString &file, QVector<WindowData> &da
tabStream >> tab;
tabs.append(tab);
}
if (tabs.count() == 0)
continue;
wd.tabsState = tabs;
int currentTab;