summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorKoyper <tim@maffle.com>2022-12-21 11:54:18 -0600
committerKoyper <tim@maffle.com>2022-12-21 11:54:18 -0600
commite846b22da6069a8d6394c12ab4f4a1762e6cd9c9 (patch)
treee8b0f0f40eb3aa68b993ccc8cc491506d6aaa854 /editor
parent63f95c0e58e51ec2939e8b47803cb607fb35cadc (diff)
Renamed RTL remove_line() to remove_paragraph().
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp
index 84284a7f31..a232c83783 100644
--- a/editor/editor_log.cpp
+++ b/editor/editor_log.cpp
@@ -286,7 +286,7 @@ void EditorLog::_add_log_line(LogMessage &p_message, bool p_replace_previous) {
// Remove last line if replacing, as it will be replace by the next added line.
// Why "- 2"? RichTextLabel is weird. When you add a line with add_newline(), it also adds an element to the list of lines which is null/blank,
// but it still counts as a line. So if you remove the last line (count - 1) you are actually removing nothing...
- log->remove_line(log->get_paragraph_count() - 2);
+ log->remove_paragraph(log->get_paragraph_count() - 2);
}
switch (p_message.type) {