1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fix scrolling to current tab when added from fullscreen mode

This commit is contained in:
David Rosca 2016-08-15 14:25:01 +02:00
parent cce94944f7
commit 42eadaeb2f

View File

@ -433,7 +433,9 @@ void TabBar::currentTabChanged(int index)
showCloseButton(index);
hideCloseButton(m_tabWidget->lastTabIndex());
ensureVisible(index);
QTimer::singleShot(0, this, [=]() {
ensureVisible(index);
});
}
m_tabWidget->currentTabChanged(index);