瀏覽代碼

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

Michael Alexsander Silva Dias 7 年之前
父節點
當前提交
ab2eac8e3f
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);