diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-19 14:01:03 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-23 08:03:41 +0200 |
commit | b202a0dd2aa5c93b9fa14d6056513b0a537a9644 (patch) | |
tree | 2085be1a385e3fdb92813c07a47db802432a40fe /scene/resources/default_theme | |
parent | 03392009725b1a81928865d4f382a2de79e65f54 (diff) |
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 0c661cc17d..9e372a9579 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -628,6 +628,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // File Dialog theme->set_icon("parent_folder", "FileDialog", make_icon(icon_parent_folder_png)); + theme->set_icon("back_folder", "FileDialog", make_icon(arrow_left_png)); + theme->set_icon("forward_folder", "FileDialog", make_icon(arrow_right_png)); theme->set_icon("reload", "FileDialog", make_icon(icon_reload_png)); theme->set_icon("toggle_hidden", "FileDialog", make_icon(icon_visibility_png)); |