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();