summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-11 09:44:11 +0200
committerGitHub <noreply@github.com>2019-05-11 09:44:11 +0200
commitfea0c8858e53d50bc50b2e9d6aa815540ad0ef3c (patch)
treedde0fda1b439c6bb91bb4468b060ad2f167eb8d0 /editor
parent42d6205e8cb7775a901e280a9984c7c5b7da172a (diff)
parent920403c489fe3b0437634538bb4e45d55ac10eab (diff)
Merge pull request #28770 from volzhs/fix-scroll-back-top
Fix scroll back top
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 6248680a52..97ff516055 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -462,6 +462,7 @@ void FileSystemDock::_navigate_to_path(const String &p_path, bool p_select_in_fa
_update_tree(_compute_uncollapsed_paths(), false, p_select_in_favorites);
if (display_mode == DISPLAY_MODE_SPLIT) {
_update_file_list(false);
+ files->get_v_scroll()->set_value(0);
}
String file_name = p_path.get_file();