From 8f64c610ce75a1110e1d265cec2b807f8239f4e9 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 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 53a1634a6..86261c684 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();