Permalink
Browse files

:tab-clone - restore tab zoom after history

This makes cloning the zoom work with QtWebEngine.
  • Loading branch information...
The-Compiler committed Sep 6, 2016
1 parent 7b9b08a commit abdc604ead32b516fa69329101263bb2582ee003
Showing with 1 addition and 1 deletion.
  1. +1 −1 qutebrowser/browser/commands.py
@@ -427,8 +427,8 @@ def tab_clone(self, bg=False, window=False):
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')

0 comments on commit abdc604

Please sign in to comment.