From 7e4c58c56331f0a6f98c9ac950135041d8578f97 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Mon, 30 May 2016 18:15:41 +0200 Subject: Fixed and improved search bar - Search no longer selects the results - Return focus to the text editor when hiding the bar - Fix connecting to invalid signal - Update/redraw the text editor after searching --- scene/gui/text_edit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui/text_edit.cpp') diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index ceb40925ec..fd6e97d33f 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3554,6 +3554,7 @@ void TextEdit::set_search_flags(uint32_t p_flags) { void TextEdit::set_current_search_result(int line, int col) { search_result_line = line; search_result_col = col; + update(); } void TextEdit::set_highlight_all_occurrences(const bool p_enabled) { -- cgit v1.2.3