Merge pull request #71015 from 44zb/fix-error-messages-copied-without-line-breaks

Add a line break to error messages in the script editor
This commit is contained in:
Rémi Verschelde 2023-06-19 16:33:06 +02:00 committed by GitHub
commit cdc68c2887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -548,6 +548,7 @@ void ScriptTextEditor::_update_warnings() {
warnings_panel->push_cell();
warnings_panel->add_text(w.message);
warnings_panel->add_newline();
warnings_panel->pop(); // Cell.
}
warnings_panel->pop(); // Table.
@ -569,6 +570,7 @@ void ScriptTextEditor::_update_errors() {
errors_panel->push_cell();
errors_panel->add_text(err.message);
errors_panel->add_newline();
errors_panel->pop(); // Cell.
}
errors_panel->pop(); // Table