1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

Display correct URL in urlBar after window restore

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2023-12-16 23:19:29 +01:00
parent b41e9a8cc2
commit 8f64c610ce
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -882,6 +882,7 @@ bool TabWidget::restoreState(const QVector<WebTab::SavedTab> &tabs, int currentT
} }
setCurrentIndex(currentTab); setCurrentIndex(currentTab);
currentTabChanged(currentTab);
QTimer::singleShot(0, m_tabBar, SLOT(ensureVisible(int,int))); QTimer::singleShot(0, m_tabBar, SLOT(ensureVisible(int,int)));
weTab()->tabActivated(); weTab()->tabActivated();