mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
parent
4fd8aa76d1
commit
d39e4cc381
|
@ -205,8 +205,8 @@ function restoreSession()
|
|||
if (input.checked || input.indeterminate || !input.hasAttribute("data-tab")) {
|
||||
return;
|
||||
}
|
||||
excludeWin.push(input.getAttribute("data-window"));
|
||||
excludeTab.push(input.getAttribute("data-tab"));
|
||||
excludeWin.unshift(input.getAttribute("data-window"));
|
||||
excludeTab.unshift(input.getAttribute("data-tab"));
|
||||
});
|
||||
|
||||
external.recovery.restoreSession(excludeWin, excludeTab);
|
||||
|
|
|
@ -80,6 +80,8 @@ void RecoveryJsObject::restoreSession(const QStringList &excludeWin, const QStri
|
|||
{
|
||||
Q_ASSERT(excludeWin.size() == excludeTab.size());
|
||||
|
||||
// This assumes that excludeWin and excludeTab are sorted in descending order
|
||||
|
||||
RestoreData data = m_manager->restoreData();
|
||||
|
||||
for (int i = 0; i < excludeWin.size(); ++i) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user