diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-06-23 07:38:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 07:38:46 +0200 |
commit | 3cafcaedd02133a5a22708cafe62e951fca8b803 (patch) | |
tree | dfb5368af2dd033785d5a7f0f6ce520806b1dda3 | |
parent | b9ed5b12c9c4b68b1f0c727916dfc74bdc4f6fb7 (diff) | |
parent | 48f9c0228926d632eac2d820be9d9e3f9f3ef73e (diff) |
Merge pull request #5345 from djrm/fix_#5324
Fixed file name being removed on folder change in save as dialogs fix…
-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 a55c835787..e68a53659b 100644 --- a/tools/editor/editor_file_dialog.cpp +++ b/tools/editor/editor_file_dialog.cpp @@ -466,10 +466,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"); |