summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-15 11:09:44 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-15 11:25:52 -0300
commitbe8dc97be7c2c735728f282ecbbf9b97b1359a67 (patch)
tree505b492a3954e159bd48854d18a9845572327f68 /scene/gui
parent996abb83e31453b4dcd3f4031a191aba3b392bef (diff)
Fix leftover connection to the "Open" signal in FileSystemDock
Fixes #28903.
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/line_edit.cpp2
1 files changed, 1 insertions, 1 deletions
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;