Browse Source

Back scroll to start when changing folder

qarmin 6 years ago
parent
commit
9bf1964dff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/gui/item_list.cpp

+ 1 - 0
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) {