debug code removed
This commit is contained in:
parent
cf8130bd22
commit
13dc24f6ca
@ -330,9 +330,6 @@ class SessionManager(QObject):
|
|||||||
"""Load yaml data into a newly opened tab."""
|
"""Load yaml data into a newly opened tab."""
|
||||||
entries = []
|
entries = []
|
||||||
|
|
||||||
if config.val.session_lazy_restore and data['history']:
|
|
||||||
last = data['history'][-1]
|
|
||||||
|
|
||||||
for i, histentry in enumerate(data['history']):
|
for i, histentry in enumerate(data['history']):
|
||||||
user_data = {}
|
user_data = {}
|
||||||
|
|
||||||
@ -370,7 +367,6 @@ class SessionManager(QObject):
|
|||||||
})
|
})
|
||||||
histentry['active'] = False
|
histentry['active'] = False
|
||||||
|
|
||||||
print(histentry)
|
|
||||||
active = histentry.get('active', False)
|
active = histentry.get('active', False)
|
||||||
url = QUrl.fromEncoded(histentry['url'].encode('ascii'))
|
url = QUrl.fromEncoded(histentry['url'].encode('ascii'))
|
||||||
if 'original-url' in histentry:
|
if 'original-url' in histentry:
|
||||||
|
Loading…
Reference in New Issue
Block a user