diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-12-02 01:21:45 -0200 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-12-02 04:30:20 -0200 |
commit | 6b07e8c6241d71040ec423056147922170ba76d9 (patch) | |
tree | 53ceccbde35b506d2864ca522bf2989df7178de8 /scene/gui | |
parent | abdcf2c02456619fd8aa65aa95da76046369b642 (diff) |
Fixed FileDialog's "parent folder" button not having a texture.
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/file_dialog.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 9bfb70bf42..8af499fd96 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -47,13 +47,7 @@ void FileDialog::_notification(int p_what) { if (p_what == NOTIFICATION_ENTER_TREE) { refresh->set_icon(get_icon("reload")); - dir_up->set_icon(get_icon("ArrowUp", "EditorIcons")); - } - - if (p_what == NOTIFICATION_DRAW) { - - //RID ci = get_canvas_item(); - //get_stylebox("panel","PopupMenu")->draw(ci,Rect2(Point2(),get_size())); + dir_up->set_icon(get_icon("parent_folder")); } if (p_what == NOTIFICATION_POPUP_HIDE) { |