mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Add all files filter
This commit is contained in:
@@ -286,6 +286,10 @@ static bool browse(bool isSave, char *path, size_t pathSize)
|
||||
break;
|
||||
}
|
||||
|
||||
// Add 'all files' filter
|
||||
desc.filters[1].name = language_get_string(STR_ALL_FILES);
|
||||
desc.filters[1].pattern = "*";
|
||||
|
||||
desc.title = language_get_string(title);
|
||||
return platform_open_common_file_dialog(path, &desc, pathSize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user