summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_visual_profiler.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-29 11:57:54 +0200
committerGitHub <noreply@github.com>2022-08-29 11:57:54 +0200
commit0b8a63e47193ee3e6cd6c0986993a85fc693ca54 (patch)
treef924f74107842bd3c316f5c5c9ab5da810314c43 /editor/debugger/editor_visual_profiler.cpp
parent223e083d36ac1ca3f7aa46898d8870e476132f7a (diff)
parentfd6453c45ec0da79f2c7794b1c94f31fd6e477d7 (diff)
downloadredot-engine-0b8a63e47193ee3e6cd6c0986993a85fc693ca54.tar.gz
Merge pull request #65025 from akien-mga/revert-62846
Diffstat (limited to 'editor/debugger/editor_visual_profiler.cpp')
-rw-r--r--editor/debugger/editor_visual_profiler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp
index df1a59cc99..6f3dd1793c 100644
--- a/editor/debugger/editor_visual_profiler.cpp
+++ b/editor/debugger/editor_visual_profiler.cpp
@@ -424,9 +424,10 @@ void EditorVisualProfiler::_clear_pressed() {
void EditorVisualProfiler::_notification(int p_what) {
switch (p_what) {
+ case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
- case NOTIFICATION_TRANSLATION_CHANGED:
- case NOTIFICATION_THEME_CHANGED: {
+ case NOTIFICATION_THEME_CHANGED:
+ case NOTIFICATION_TRANSLATION_CHANGED: {
if (is_layout_rtl()) {
activate->set_icon(get_theme_icon(SNAME("PlayBackwards"), SNAME("EditorIcons")));
} else {