summaryrefslogtreecommitdiff
path: root/editor/editor_file_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-03 14:10:41 +0100
committerGitHub <noreply@github.com>2022-01-03 14:10:41 +0100
commit1032c2c434ec882905b1ab2426d8ce3043dd6958 (patch)
tree964a729fe4a879c1236c5b3c5a8bc4427d3d0dd0 /editor/editor_file_dialog.cpp
parentb5807f5f1bf094a7ace6859f5958fffa837dcd65 (diff)
parentec4f4c6cdaaede844d85bddc1c99e3eb6514f66e (diff)
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
Diffstat (limited to 'editor/editor_file_dialog.cpp')
-rw-r--r--editor/editor_file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index a35458d284..eb14c68d72 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -723,7 +723,7 @@ void EditorFileDialog::update_file_list() {
item_list->clear();
// Scroll back to the top after opening a directory
- item_list->get_v_scroll()->set_value(0);
+ item_list->get_v_scroll_bar()->set_value(0);
if (display_mode == DISPLAY_THUMBNAILS) {
item_list->set_max_columns(0);