From 48f9c0228926d632eac2d820be9d9e3f9f3ef73e Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Mon, 20 Jun 2016 18:05:59 -0500 Subject: Fixed file name being removed on folder change in save as dialogs fixes #5324 --- tools/editor/editor_file_dialog.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/editor/editor_file_dialog.cpp b/tools/editor/editor_file_dialog.cpp index 97feaa80a5..2369190303 100644 --- a/tools/editor/editor_file_dialog.cpp +++ b/tools/editor/editor_file_dialog.cpp @@ -437,10 +437,7 @@ void EditorFileDialog::_item_dc_selected(int p_item) { if (d["dir"]) { - //print_line("change dir: "+String(d["name"])); dir_access->change_dir(d["name"]); - if (mode==MODE_OPEN_FILE || mode==MODE_OPEN_FILES || mode==MODE_OPEN_DIR || MODE_OPEN_ANY) - file->set_text(""); call_deferred("_update_file_list"); call_deferred("_update_dir"); -- cgit v1.2.3