From 4f8dfa16671afc35daeb974533aa44f75438ca9b Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 23 Oct 2021 14:25:39 +0800 Subject: Make RichTextLabel's parse_bbcode and append_text return void --- scene/gui/rich_text_label.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/gui/rich_text_label.h') diff --git a/scene/gui/rich_text_label.h b/scene/gui/rich_text_label.h index 94f02a3989..48186ca8b8 100644 --- a/scene/gui/rich_text_label.h +++ b/scene/gui/rich_text_label.h @@ -552,8 +552,8 @@ public: String get_selected_text() const; void selection_copy(); - Error parse_bbcode(const String &p_bbcode); - Error append_text(const String &p_bbcode); + void parse_bbcode(const String &p_bbcode); + void append_text(const String &p_bbcode); void set_use_bbcode(bool p_enable); bool is_using_bbcode() const; -- cgit v1.2.3