1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

TabWidget: Ensure current tab is visible after restoring session

This commit is contained in:
David Rosca 2015-10-22 18:33:20 +02:00
parent fd88bb26c2
commit 12661a7d61

View File

@ -848,6 +848,7 @@ bool TabWidget::restoreState(const QVector<WebTab::SavedTab> &tabs, int currentT
}
setCurrentIndex(currentTab);
QTimer::singleShot(0, m_tabBar, SLOT(ensureVisible(int,int)));
// WebTab is restoring state on showEvent
weTab()->hide();