mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[MouseGestures] Down+Up tab duplicate gesture needs to know what tab to duplicate
This commit is contained in:
parent
3fe5a699ff
commit
65a803b9cc
@ -245,8 +245,9 @@ void MouseGestures::downUpGestured()
|
||||
BrowserWindow* window = view->browserWindow();
|
||||
if (!window)
|
||||
return;
|
||||
|
||||
window->tabWidget()->duplicateTab();
|
||||
|
||||
TabWidget* tabWidget = window->tabWidget();
|
||||
tabWidget->duplicateTab(tabWidget->currentIndex());
|
||||
}
|
||||
|
||||
void MouseGestures::upDownGestured()
|
||||
|
Loading…
Reference in New Issue
Block a user