diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-29 11:57:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 11:57:54 +0200 |
| commit | 0b8a63e47193ee3e6cd6c0986993a85fc693ca54 (patch) | |
| tree | f924f74107842bd3c316f5c5c9ab5da810314c43 /scene/gui/code_edit.cpp | |
| parent | 223e083d36ac1ca3f7aa46898d8870e476132f7a (diff) | |
| parent | fd6453c45ec0da79f2c7794b1c94f31fd6e477d7 (diff) | |
| download | redot-engine-0b8a63e47193ee3e6cd6c0986993a85fc693ca54.tar.gz | |
Merge pull request #65025 from akien-mga/revert-62846
Diffstat (limited to 'scene/gui/code_edit.cpp')
| -rw-r--r-- | scene/gui/code_edit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index b9760499ef..e54ba7ce13 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -36,7 +36,8 @@ void CodeEdit::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_THEME_CHANGED: { + case NOTIFICATION_THEME_CHANGED: + case NOTIFICATION_ENTER_TREE: { style_normal = get_theme_stylebox(SNAME("normal")); font = get_theme_font(SNAME("font")); |
