diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-19 22:57:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 22:57:39 +0200 |
commit | 617327118b5917528d77da40a5b000af6a4d1485 (patch) | |
tree | 00c01681cc1375b1431cd7b1f208cf53e881ddea /editor/debugger | |
parent | a0bc2f359dfbd543328a86ad867b66a3f7e17130 (diff) | |
parent | 0098e9243cdeea1c000b4d390a4b71ae76e9f7e9 (diff) |
Merge pull request #50599 from Calinou/editor-profiler-improve-tooltip
Improve tooltips in the editor profiler to mention the script name
Diffstat (limited to 'editor/debugger')
-rw-r--r-- | editor/debugger/editor_profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index 585552e1fc..6b015e1fda 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -356,7 +356,7 @@ void EditorProfiler::_update_frame() { item->set_metadata(1, it.script); item->set_metadata(2, it.line); item->set_text_align(2, TreeItem::ALIGN_RIGHT); - item->set_tooltip(0, it.script + ":" + itos(it.line)); + item->set_tooltip(0, it.name + "\n" + it.script + ":" + itos(it.line)); float time = dtime == DISPLAY_SELF_TIME ? it.self : it.total; |