Browse Source

Make filesystem dock's path bar start with said path written

Michael Alexsander Silva Dias 7 years ago
parent
commit
ab2eac8e3f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/filesystem_dock.cpp

+ 1 - 0
editor/filesystem_dock.cpp

@@ -2248,6 +2248,7 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) {
 
 	current_path = memnew(LineEdit);
 	current_path->set_h_size_flags(SIZE_EXPAND_FILL);
+	current_path->set_text(path);
 	toolbar_hbc->add_child(current_path);
 
 	button_reload = memnew(Button);