From abdc604ead32b516fa69329101263bb2582ee003 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 6 Sep 2016 15:15:59 +0200 Subject: [PATCH] :tab-clone - restore tab zoom after history This makes cloning the zoom work with QtWebEngine. --- qutebrowser/browser/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 283bec952..046b32ce1 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -427,8 +427,8 @@ class CommandDispatcher: if config.get('tabs', 'tabs-are-windows'): new_tabbed_browser.window().setWindowIcon(curtab.icon()) newtab.data.keep_icon = True - newtab.zoom.set_factor(curtab.zoom.factor()) newtab.history.deserialize(curtab.history.serialize()) + newtab.zoom.set_factor(curtab.zoom.factor()) return newtab @cmdutils.register(instance='command-dispatcher', scope='window')