From f9b1d998d43cb0c4ea2eb887389d0489b9d29ffb Mon Sep 17 00:00:00 2001 From: thuck Date: Mon, 7 Nov 2016 22:32:42 +0100 Subject: [PATCH] Last configuration as pin changed to pinned --- qutebrowser/misc/sessions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/misc/sessions.py b/qutebrowser/misc/sessions.py index ce1582413..f6c6d97b2 100644 --- a/qutebrowser/misc/sessions.py +++ b/qutebrowser/misc/sessions.py @@ -206,7 +206,7 @@ class SessionManager(QObject): pos = user_data['scroll-pos'] data['scroll-pos'] = {'x': pos.x(), 'y': pos.y()} - data['pin'] = tab.data.pinned + data['pinned'] = tab.data.pinned return data @@ -335,8 +335,8 @@ class SessionManager(QObject): pos = histentry['scroll-pos'] user_data['scroll-pos'] = QPoint(pos['x'], pos['y']) - if 'pin' in histentry: - new_tab.data.pinned = histentry['pin'] + if 'pinned' in histentry: + new_tab.data.pinned = histentry['pinned'] active = histentry.get('active', False) url = QUrl.fromEncoded(histentry['url'].encode('ascii'))