Last configuration as pin changed to pinned
This commit is contained in:
parent
f10284b04a
commit
f9b1d998d4
@ -206,7 +206,7 @@ class SessionManager(QObject):
|
|||||||
pos = user_data['scroll-pos']
|
pos = user_data['scroll-pos']
|
||||||
data['scroll-pos'] = {'x': pos.x(), 'y': pos.y()}
|
data['scroll-pos'] = {'x': pos.x(), 'y': pos.y()}
|
||||||
|
|
||||||
data['pin'] = tab.data.pinned
|
data['pinned'] = tab.data.pinned
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@ -335,8 +335,8 @@ class SessionManager(QObject):
|
|||||||
pos = histentry['scroll-pos']
|
pos = histentry['scroll-pos']
|
||||||
user_data['scroll-pos'] = QPoint(pos['x'], pos['y'])
|
user_data['scroll-pos'] = QPoint(pos['x'], pos['y'])
|
||||||
|
|
||||||
if 'pin' in histentry:
|
if 'pinned' in histentry:
|
||||||
new_tab.data.pinned = histentry['pin']
|
new_tab.data.pinned = histentry['pinned']
|
||||||
|
|
||||||
active = histentry.get('active', False)
|
active = histentry.get('active', False)
|
||||||
url = QUrl.fromEncoded(histentry['url'].encode('ascii'))
|
url = QUrl.fromEncoded(histentry['url'].encode('ascii'))
|
||||||
|
Loading…
Reference in New Issue
Block a user