diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2016-06-20 20:29:58 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2016-06-20 20:29:58 +0100 |
commit | 8f6b56cfda4ec412ae1fdd66e5e579b02211ddb2 (patch) | |
tree | 32474d0c67bad423d19a9b4e698cb31bb9d36212 | |
parent | 93441d6119e801fe3b949c96a6c845e982462bd0 (diff) |
Fixed caret not drawing on focus regain
-rw-r--r-- | scene/gui/text_edit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 7fbd412de8..5e18da32aa 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1209,6 +1209,9 @@ void TextEdit::_notification(int p_what) { } break; case NOTIFICATION_FOCUS_ENTER: { + if (!caret_blink_enabled) { + draw_caret = true; + } if (OS::get_singleton()->has_virtual_keyboard()) OS::get_singleton()->show_virtual_keyboard(get_text(),get_global_rect()); |