From 866fa8a3c4dc408bf0bebba0e9bffe12782f7480 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sat, 16 Dec 2023 23:19:29 +0100 Subject: [PATCH] Display correct URL in urlBar after window restore BUG: 478823 FIXED-IN: 23.08.5 Cherry picked from: 8f64c610ce75a1110e1d265cec2b807f8239f4e9 Signed-off-by: Juraj Oravec --- src/lib/tabwidget/tabwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/tabwidget/tabwidget.cpp b/src/lib/tabwidget/tabwidget.cpp index b1cd09e3a..c80d09c52 100644 --- a/src/lib/tabwidget/tabwidget.cpp +++ b/src/lib/tabwidget/tabwidget.cpp @@ -882,6 +882,7 @@ bool TabWidget::restoreState(const QVector &tabs, int currentT } setCurrentIndex(currentTab); + currentTabChanged(currentTab); QTimer::singleShot(0, m_tabBar, SLOT(ensureVisible(int,int))); weTab()->tabActivated();