Explorar o código

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

Michael Alexsander Silva Dias %!s(int64=7) %!d(string=hai) anos
pai
achega
ab2eac8e3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);