1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +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)
return;
window->tabWidget()->duplicateTab();
TabWidget* tabWidget = window->tabWidget();
tabWidget->duplicateTab(tabWidget->currentIndex());
}
void MouseGestures::upDownGestured()