Merge pull request #58907 from novaplusplus/gutter_spam_fix

This commit is contained in:
Rémi Verschelde 2022-03-09 21:13:24 +01:00 committed by GitHub
commit 97cb90aa3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1335,6 +1335,9 @@ void ScriptTextEditor::_change_syntax_highlighter(int p_idx) {
void ScriptTextEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_THEME_CHANGED:
if (!editor_enabled) {
break;
}
if (is_visible_in_tree()) {
_update_warnings();
_update_errors();