From 9bf1964dffa04c4b0e8dc7abfb0c9a8b4c355c4c Mon Sep 17 00:00:00 2001 From: qarmin Date: Tue, 19 Feb 2019 13:31:39 +0100 Subject: [PATCH] Back scroll to start when changing folder --- scene/gui/item_list.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index f34cd131e40..849b169b641 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -369,6 +369,7 @@ void ItemList::clear() { update(); shape_changed = true; defer_select_single = -1; + scroll_bar->set_value(0); } void ItemList::set_fixed_column_width(int p_size) {