mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
BrowserWindow: Make sure window is shown before restoring session
Same reasoning as 639ecf3626dc5fa667acb17fa35bc398bdaf4712
This commit is contained in:
parent
5ecf3d8b98
commit
3aa629ceac
|
@ -889,6 +889,7 @@ void BrowserWindow::addDeleteOnCloseWidget(QWidget* widget)
|
||||||
void BrowserWindow::restoreWindowState(const RestoreManager::WindowData &d)
|
void BrowserWindow::restoreWindowState(const RestoreManager::WindowData &d)
|
||||||
{
|
{
|
||||||
restoreState(d.windowState);
|
restoreState(d.windowState);
|
||||||
|
show(); // Window has to be visible before adding QWebEngineView's
|
||||||
m_tabWidget->restoreState(d.tabsState, d.currentTab);
|
m_tabWidget->restoreState(d.tabsState, d.currentTab);
|
||||||
updateStartupFocus();
|
updateStartupFocus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user