From 6b07e8c6241d71040ec423056147922170ba76d9 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Sat, 2 Dec 2017 01:21:45 -0200 Subject: Fixed FileDialog's "parent folder" button not having a texture. --- scene/gui/file_dialog.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scene/gui') 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) { -- cgit v1.2.3