diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-03-26 00:00:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 00:00:25 +0100 |
commit | c6b9ceadf2d2c220acdb4081e488c13de9d5f52c (patch) | |
tree | 8a559005793cac75fa6bac3137ade57cb51ee997 /scene/resources | |
parent | b3a409f4aa8808975441b3db461a20b317324873 (diff) | |
parent | b202a0dd2aa5c93b9fa14d6056513b0a537a9644 (diff) |
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
Diffstat (limited to 'scene/resources')
-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 fabb93a933..854001f397 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -632,6 +632,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)); |