From cabcb4161b22868e8ed90cc2c730a4b23cf2cf15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20Dunne=20Fulmer?= Date: Sat, 15 Mar 2025 09:08:30 +0000 Subject: [PATCH] Fix error panel auto-hiding --- editor/code_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index bc678b5ba1b..1b77ae749e4 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1668,9 +1668,9 @@ void CodeTextEditor::set_error_count(int p_error_count) { error_button->set_text(itos(p_error_count)); error_button->set_visible(p_error_count > 0); if (p_error_count > 0) { - _set_show_errors_panel(false); idle->set_wait_time(idle_time_with_errors); // Parsing should happen sooner. } else { + _set_show_errors_panel(false); idle->set_wait_time(idle_time); } }