1
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:
Eion Robb 2014-11-21 12:47:40 +13:00
parent 3fe5a699ff
commit 65a803b9cc

View File

@ -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()