From be8dc97be7c2c735728f282ecbbf9b97b1359a67 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Wed, 15 May 2019 11:09:44 -0300 Subject: Fix leftover connection to the "Open" signal in FileSystemDock Fixes #28903. --- scene/gui/line_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index b10ddfaf70..2d18a80833 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -613,7 +613,7 @@ void LineEdit::_notification(int p_what) { #endif case NOTIFICATION_RESIZED: { - window_pos = 0; //force scroll back since it's expanding to text length + window_pos = 0; set_cursor_position(get_cursor_position()); } break; -- cgit v1.2.3