Clone zoom factor when cloning tab.

This commit is contained in:
Florian Bruhin 2015-01-26 07:20:03 +01:00
parent ab2d2d79ca
commit bc380fca61

View File

@ -385,6 +385,7 @@ class CommandDispatcher:
tabbed_browser.setTabText(idx, curtab.title().replace('&', '&&'))
tabbed_browser.setTabIcon(idx, curtab.icon())
newtab.keep_icon = True
newtab.setZoomFactor(curtab.zoomFactor())
history = qtutils.serialize(curtab.history())
qtutils.deserialize(history, newtab.history())
return newtab