Merge pull request #104169 from CreatedBySeb/fix-error-panel-hiding

Fix error panel auto-hiding
This commit is contained in:
Thaddeus Crews 2025-04-27 19:21:32 -05:00
commit a26c05d7e5
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -1688,9 +1688,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);
}
}