diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2016-06-20 18:05:59 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2016-06-20 18:05:59 -0500 |
commit | 48f9c0228926d632eac2d820be9d9e3f9f3ef73e (patch) | |
tree | f89bc7bddf5a877b6afb71287592f89be41b9a70 | |
parent | 85d8000449be06affcd686838d498be186594c14 (diff) |
Fixed file name being removed on folder change in save as dialogs fixes #5324
-rw-r--r-- | tools/editor/editor_file_dialog.cpp | 3 |
1 files changed, 0 insertions, 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"); |