1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Remove outdated comment (#20804)

The comment dated from the time where the "All files" filter was still hardcoded at index [1], rather than being added to a vector like it is now.
This commit is contained in:
Michael Steenbeek
2023-09-23 06:25:00 +02:00
committed by GitHub
parent b2c6cf0367
commit a070604d7b

View File

@@ -472,7 +472,6 @@ static u8string OpenSystemFileBrowser(bool isSave)
desc.Type = isSave ? OpenRCT2::Ui::FileDialogType::Save : OpenRCT2::Ui::FileDialogType::Open;
desc.DefaultFilename = isSave ? path : u8string();
// Add 'all files' filter. If the number of filters is increased, this code will need to be adjusted.
desc.Filters.emplace_back(LanguageGetString(STR_ALL_FILES), "*");
desc.Title = LanguageGetString(title);