From 9c4f16f4c10451ae024a8f899ce678ff72db3ea2 Mon Sep 17 00:00:00 2001 From: Filip Date: Wed, 10 Feb 2021 20:40:00 +0100 Subject: [PATCH] Fixed completion box not showing properly [3.2] --- scene/gui/text_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 288c974585..5ede5fbd07 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1396,6 +1396,7 @@ void TextEdit::_notification(int p_what) { if (cursor.column == last_wrap_column + j && cursor.line == line && cursor_wrap_index == line_wrap_index) { + is_cursor_visible = true; cursor_pos = Point2i(char_ofs + char_margin + ofs_x, ofs_y); cursor_pos.y += (get_row_height() - cache.font->get_height()) / 2;