You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 20:03:48 +00:00
Add check to prevent "p_gutter = -1" error spam
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user