mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 14:41:07 +00:00
Add check to prevent "p_gutter = -1" error spam
This commit is contained in:
parent
fe95b61e52
commit
ce66f8a7a0
1 changed files with 3 additions and 0 deletions
|
|
@ -1335,6 +1335,9 @@ void ScriptTextEditor::_change_syntax_highlighter(int p_idx) {
|
||||||
void ScriptTextEditor::_notification(int p_what) {
|
void ScriptTextEditor::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_THEME_CHANGED:
|
case NOTIFICATION_THEME_CHANGED:
|
||||||
|
if (!editor_enabled) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (is_visible_in_tree()) {
|
if (is_visible_in_tree()) {
|
||||||
_update_warnings();
|
_update_warnings();
|
||||||
_update_errors();
|
_update_errors();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue