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

This commit is contained in:
Michael Alexsander Silva Dias 2018-09-21 04:05:50 -03:00
parent 8e4b18a721
commit ab2eac8e3f

View file

@ -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);