diff options
author | Aaron Record <aaronjrecord@gmail.com> | 2022-07-29 23:35:34 -0600 |
---|---|---|
committer | Aaron Record <aaronjrecord@gmail.com> | 2022-08-27 11:52:29 -0600 |
commit | 4b817a565cab8af648c88cfc7ab6481e86ee3625 (patch) | |
tree | c12f7e186f04d71ea9731b1308d682f876262aed /editor/debugger/editor_visual_profiler.cpp | |
parent | 4808d01b2bcda54db15e1e2649e0a38c37886ee1 (diff) |
Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED
Diffstat (limited to 'editor/debugger/editor_visual_profiler.cpp')
-rw-r--r-- | editor/debugger/editor_visual_profiler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp index 6f3dd1793c..df1a59cc99 100644 --- a/editor/debugger/editor_visual_profiler.cpp +++ b/editor/debugger/editor_visual_profiler.cpp @@ -424,10 +424,9 @@ void EditorVisualProfiler::_clear_pressed() { void EditorVisualProfiler::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_ENTER_TREE: case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: - case NOTIFICATION_THEME_CHANGED: - case NOTIFICATION_TRANSLATION_CHANGED: { + case NOTIFICATION_TRANSLATION_CHANGED: + case NOTIFICATION_THEME_CHANGED: { if (is_layout_rtl()) { activate->set_icon(get_theme_icon(SNAME("PlayBackwards"), SNAME("EditorIcons"))); } else { |