mirror of https://github.com/godotengine/godot
Fix TextEdit not drawing caret on setting editable
This commit is contained in:
parent
2d53a62898
commit
f2e370cfd3
|
|
@ -3711,6 +3711,9 @@ void TextEdit::set_editable(bool p_editable) {
|
|||
}
|
||||
|
||||
editable = p_editable;
|
||||
if (editable) {
|
||||
draw_caret = true;
|
||||
}
|
||||
queue_accessibility_update();
|
||||
queue_redraw();
|
||||
update_minimum_size();
|
||||
|
|
|
|||
Loading…
Reference in New Issue