1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56: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

@ -246,7 +246,8 @@ void MouseGestures::downUpGestured()
if (!window) if (!window)
return; return;
window->tabWidget()->duplicateTab(); TabWidget* tabWidget = window->tabWidget();
tabWidget->duplicateTab(tabWidget->currentIndex());
} }
void MouseGestures::upDownGestured() void MouseGestures::upDownGestured()