You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
-oops, duplicated text issue fix..
This commit is contained in:
@@ -2586,6 +2586,7 @@ Control::CursorShape TextEdit::get_cursor_shape(const Point2& p_pos) const {
|
||||
void TextEdit::set_text(String p_text){
|
||||
|
||||
setting_text=true;
|
||||
clear();
|
||||
_insert_text_at_cursor(p_text);
|
||||
clear_undo_history();
|
||||
cursor.column=0;
|
||||
|
||||
Reference in New Issue
Block a user