From c46e3df05416eb1a509ad42bb3df3b69c5971fc0 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Thu, 7 Apr 2022 23:07:00 +0800 Subject: [PATCH] dont auto focus to compile issue table when compile finished --- RedPandaIDE/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index b1e301b3..782cd9fe 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -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; } }