dont auto focus to compile issue table when compile finished
This commit is contained in:
parent
01662a95d1
commit
c46e3df054
|
@ -4594,7 +4594,6 @@ void MainWindow::onCompileFinished(bool isCheckSyntax)
|
||||||
PCompileIssue issue = ui->tableIssues->issue(i);
|
PCompileIssue issue = ui->tableIssues->issue(i);
|
||||||
if (issue->type == CompileIssueType::Error) {
|
if (issue->type == CompileIssueType::Error) {
|
||||||
ui->tableIssues->selectRow(i);
|
ui->tableIssues->selectRow(i);
|
||||||
ui->tabIssues->setFocus();
|
|
||||||
hasError = true;
|
hasError = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -4605,7 +4604,6 @@ void MainWindow::onCompileFinished(bool isCheckSyntax)
|
||||||
PCompileIssue issue = ui->tableIssues->issue(i);
|
PCompileIssue issue = ui->tableIssues->issue(i);
|
||||||
if (issue->type == CompileIssueType::Warning) {
|
if (issue->type == CompileIssueType::Warning) {
|
||||||
ui->tableIssues->selectRow(i);
|
ui->tableIssues->selectRow(i);
|
||||||
ui->tabIssues->setFocus();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue