Fixed uninitialized pointer access due to THEME_CHANGED notification
Created by: Zylann
I ran into it while testing another bug.
EditorLog
is trying to add a theme override to itself at the beginning of the constructor, which triggers NOTIFICATION_THEME_CHANGED
on itself, and it crashes on garbage because none of the member vars have been set at this stage.
I moved the theme override at the end of the constructor to fix it.