mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
TabWidget: Ensure current tab is visible after restoring session
This commit is contained in:
parent
fd88bb26c2
commit
12661a7d61
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user