mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix error panel auto-hiding
This commit is contained in:
parent
0028fd625e
commit
cabcb4161b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue