Skip to content

Commit cabcb41

Browse files
committed
Fix error panel auto-hiding
1 parent 0028fd6 commit cabcb41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/code_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,9 +1668,9 @@ void CodeTextEditor::set_error_count(int p_error_count) {
16681668
error_button->set_text(itos(p_error_count));
16691669
error_button->set_visible(p_error_count > 0);
16701670
if (p_error_count > 0) {
1671-
_set_show_errors_panel(false);
16721671
idle->set_wait_time(idle_time_with_errors); // Parsing should happen sooner.
16731672
} else {
1673+
_set_show_errors_panel(false);
16741674
idle->set_wait_time(idle_time);
16751675
}
16761676
}

0 commit comments

Comments
 (0)