summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorPaul Joannon <hello@pauljoannon.com>2023-01-28 12:34:12 +0100
committerPaul Joannon <hello@pauljoannon.com>2023-01-28 12:34:12 +0100
commit0fb1cef42f6cdd3432fff107e7a00223972ef542 (patch)
treef406e16a5d8f6653aea6a35226736707e04a9db9 /editor/debugger
parent2afa175195d0fc885badb60441bef1b31e5e6d05 (diff)
Restore missing info in the error tooltips
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/script_editor_debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index 945a3ef932..32952a367d 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -548,7 +548,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
cpp_cond->set_text(0, "<" + vformat(TTR("%s Error"), source_language_name) + ">");
cpp_cond->set_text(1, oe.error);
cpp_cond->set_text_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
- tooltip += vformat(TTR("%s Error:"), source_language_name) + "\n";
+ tooltip += vformat(TTR("%s Error:"), source_language_name) + " " + oe.error + "\n";
if (source_is_project_file) {
cpp_cond->set_metadata(0, source_meta);
}
@@ -570,7 +570,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
cpp_source->set_text(0, "<" + vformat(TTR("%s Source"), source_language_name) + ">");
cpp_source->set_text(1, source_txt);
cpp_source->set_text_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
- tooltip += vformat(TTR("%s Source:"), source_language_name) + source_txt + "\n";
+ tooltip += vformat(TTR("%s Source:"), source_language_name) + " " + source_txt + "\n";
// Set metadata to highlight error line in scripts.
if (source_is_project_file) {