diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-03-07 21:04:03 +0100 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-03-08 06:15:42 +0100 |
commit | 8c4051819eb5869fd233e29f0db4c255b9a98b3f (patch) | |
tree | a54d1005f81945df3cce63bc3902456d2d60c7ac | |
parent | 9af7fa193f65f2caf206b079397fa810d012d803 (diff) |
Fix error when trying to enter to folder/node directly via address bar
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index b5d9071199..c99786bb07 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -2280,7 +2280,7 @@ void FileSystemDock::_bind_methods() { ClassDB::bind_method(D_METHOD("_file_list_activate_file"), &FileSystemDock::_file_list_activate_file); ClassDB::bind_method(D_METHOD("_tree_activate_file"), &FileSystemDock::_tree_activate_file); ClassDB::bind_method(D_METHOD("_select_file"), &FileSystemDock::_select_file); - ClassDB::bind_method(D_METHOD("_navigate_to_path"), &FileSystemDock::_navigate_to_path); + ClassDB::bind_method(D_METHOD("_navigate_to_path"), &FileSystemDock::_navigate_to_path, DEFVAL(false)); ClassDB::bind_method(D_METHOD("_toggle_file_display"), &FileSystemDock::_toggle_file_display); ClassDB::bind_method(D_METHOD("_fw_history"), &FileSystemDock::_fw_history); ClassDB::bind_method(D_METHOD("_bw_history"), &FileSystemDock::_bw_history); |