Fix #124771: Allow Back Button When File Browser Loaded in Workspace
If File Browser is opened while embedded into a blender window, as apposed to opened in a new window, some initialization is not done and the current directory is not added to the list of previous folders. Therefore the "back" button cannot bring you back to the initial folder. This happens if your layout contains a File Browser editor, like when selecting New / Video Editing. This PR just adds `ED_fileselect_set_params_from_userdef` to `fileselect_refresh_params`, which is called from `file_init()`. Pull Request: https://projects.blender.org/blender/blender/pulls/124827
This commit is contained in:
committed by
Harley Acheson
parent
3d3fb3dcce
commit
a63a15527d
@@ -457,6 +457,7 @@ void fileselect_refresh_params(SpaceFile *sfile)
|
||||
if (asset_params) {
|
||||
fileselect_refresh_asset_params(asset_params);
|
||||
}
|
||||
ED_fileselect_set_params_from_userdef(sfile);
|
||||
}
|
||||
|
||||
bool ED_fileselect_is_file_browser(const SpaceFile *sfile)
|
||||
|
||||
Reference in New Issue
Block a user