diff --git a/source/blender/editors/space_buttons/buttons_ops.cc b/source/blender/editors/space_buttons/buttons_ops.cc index 1f22bb0f3da..3ce1d8cbaaf 100644 --- a/source/blender/editors/space_buttons/buttons_ops.cc +++ b/source/blender/editors/space_buttons/buttons_ops.cc @@ -371,6 +371,7 @@ static int file_browse_invoke(bContext *C, wmOperator *op, const wmEvent *event) else { MEM_freeN(path); path = BLI_strdup(BKE_appdir_folder_default_or_root()); + BLI_path_slash_ensure(path, FILE_MAXDIR); } }