From 3aa629ceacd362b72630231522e3b937f8c4bce2 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 30 Dec 2017 15:51:52 +0100 Subject: [PATCH] BrowserWindow: Make sure window is shown before restoring session Same reasoning as 639ecf3626dc5fa667acb17fa35bc398bdaf4712 --- src/lib/app/browserwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index 1b0811321..abebc7161 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -889,6 +889,7 @@ void BrowserWindow::addDeleteOnCloseWidget(QWidget* widget) void BrowserWindow::restoreWindowState(const RestoreManager::WindowData &d) { restoreState(d.windowState); + show(); // Window has to be visible before adding QWebEngineView's m_tabWidget->restoreState(d.tabsState, d.currentTab); updateStartupFocus(); }