Unified SystemToolkit list directory with dialog file patterns

This commit is contained in:
Bruno Herbelin
2021-12-05 18:39:58 +01:00
parent e5334aae0a
commit 923d84f378
3 changed files with 10 additions and 7 deletions

View File

@@ -4415,7 +4415,7 @@ void Navigator::RenderMainPannelVimix()
// selection MODE 1 : LIST FOLDER
else if ( selection_session_mode == 1) {
// show list of vimix files in folder
sessions_list = SystemToolkit::list_directory( Settings::application.recentFolders.path, {"mix", "MIX"});
sessions_list = SystemToolkit::list_directory( Settings::application.recentFolders.path, { VIMIX_FILES_PATTERN });
}
// indicate the list changed (do not change at every frame)
selection_session_mode_changed = false;