Merge pull request #22304 from YeldhamDev/filedock_path_start_fix

Make filesystem dock's path bar start with said path written
This commit is contained in:
Rémi Verschelde 2018-09-21 09:36:44 +02:00 committed by GitHub
commit 78e335566b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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