diff --git a/src/lib/tabwidget/tabwidget.cpp b/src/lib/tabwidget/tabwidget.cpp index 87d932116..5883fad96 100644 --- a/src/lib/tabwidget/tabwidget.cpp +++ b/src/lib/tabwidget/tabwidget.cpp @@ -831,9 +831,7 @@ bool TabWidget::restoreState(const QVector &tabs, int currentT setCurrentIndex(currentTab); QTimer::singleShot(0, m_tabBar, SLOT(ensureVisible(int,int))); - // WebTab is restoring state on showEvent - weTab()->hide(); - weTab()->show(); + weTab()->tabActivated(); return true; }