core: queue project panel focus so it doesn't happen too early

Fixes #1608
This commit is contained in:
itsmattkc
2021-05-05 19:08:04 +10:00
parent 84847e0939
commit 049e32eb40
+1 -1
View File
@@ -694,7 +694,7 @@ void Core::StartGUI(bool full_screen)
#endif
// When a new project is opened, update the mainwindow
connect(this, &Core::ProjectOpened, main_window_, &MainWindow::ProjectOpen);
connect(this, &Core::ProjectOpened, main_window_, &MainWindow::ProjectOpen, Qt::QueuedConnection);
connect(this, &Core::ProjectClosed, main_window_, &MainWindow::ProjectClose);
// Start autorecovery timer using the config value as its interval