summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-09-21 04:05:50 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-09-21 04:05:50 -0300
commitab2eac8e3fd4461b198ee973fa0c90f03fe9dccf (patch)
tree603bf6a9da58f2b4d0ca670a81181c64594a1cda
parent8e4b18a721bbf38623e9dde1b4fe8d89308cdaf9 (diff)
Make filesystem dock's path bar start with said path written
-rw-r--r--editor/filesystem_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index bd1d355fb3..194cbd4e80 100644
--- a/editor/filesystem_dock.cpp
+++ b/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);