mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Set current tab as parent for duplicated tab
Summary: BUG: 408518 Test Plan: Duplicate tab, the change is visible in TreeView of Vertical Tabs plugin. Reviewers: #falkon, drosca Reviewed By: #falkon, drosca Subscribers: falkon, drosca Tags: #falkon Differential Revision: https://phabricator.kde.org/D24933
This commit is contained in:
parent
fcfdc340ac
commit
8f2cf86117
@ -731,6 +731,7 @@ int TabWidget::duplicateTab(int index)
|
||||
|
||||
int id = addView(QUrl(), webTab->title(), Qz::NT_CleanSelectedTab);
|
||||
weTab(id)->p_restoreTab(webTab->url(), webTab->historyData(), webTab->zoomLevel());
|
||||
weTab(id)->setParentTab(webTab);
|
||||
|
||||
return id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user