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:
parent
1d1c40ee7d
commit
0148b7aaff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user