Clone zoom factor when cloning tab.
This commit is contained in:
parent
ab2d2d79ca
commit
bc380fca61
@ -385,6 +385,7 @@ class CommandDispatcher:
|
|||||||
tabbed_browser.setTabText(idx, curtab.title().replace('&', '&&'))
|
tabbed_browser.setTabText(idx, curtab.title().replace('&', '&&'))
|
||||||
tabbed_browser.setTabIcon(idx, curtab.icon())
|
tabbed_browser.setTabIcon(idx, curtab.icon())
|
||||||
newtab.keep_icon = True
|
newtab.keep_icon = True
|
||||||
|
newtab.setZoomFactor(curtab.zoomFactor())
|
||||||
history = qtutils.serialize(curtab.history())
|
history = qtutils.serialize(curtab.history())
|
||||||
qtutils.deserialize(history, newtab.history())
|
qtutils.deserialize(history, newtab.history())
|
||||||
return newtab
|
return newtab
|
||||||
|
Loading…
Reference in New Issue
Block a user