give patchboard keyboard focus back on project load if it had it before

master
zetaPRIME 2022-03-16 04:13:18 -04:00
parent 19a82764cc
commit a9cbd629dc
2 changed files with 3 additions and 1 deletions

2
notes
View File

@ -32,7 +32,7 @@ parameters {
TODO {
immediate frontburner {
fix focus issues after loading a project with patchboard focused
- fix focus issues after loading a project with patchboard focused
- wet-only output for delay (be smart about it)
revert action

View File

@ -740,6 +740,8 @@ void MainWindow::onNewProjectLoaded() {
updateTitle();
setSongInfoPaneExpanded(false);
if (ui->tabWidget->currentWidget() == ui->patchboard) ui->patchboardView->setFocus();
emit projectLoaded();
}