dont auto focus to compile issue table when compile finished

This commit is contained in:
Roy Qu 2022-04-07 23:07:00 +08:00
parent 01662a95d1
commit c46e3df054
1 changed files with 0 additions and 2 deletions

View File

@ -4594,7 +4594,6 @@ void MainWindow::onCompileFinished(bool isCheckSyntax)
PCompileIssue issue = ui->tableIssues->issue(i);
if (issue->type == CompileIssueType::Error) {
ui->tableIssues->selectRow(i);
ui->tabIssues->setFocus();
hasError = true;
break;
}
@ -4605,7 +4604,6 @@ void MainWindow::onCompileFinished(bool isCheckSyntax)
PCompileIssue issue = ui->tableIssues->issue(i);
if (issue->type == CompileIssueType::Warning) {
ui->tableIssues->selectRow(i);
ui->tabIssues->setFocus();
break;
}
}