desktop: Add `.spl` to file dialog filter

This commit is contained in:
nosamu 2023-01-15 23:08:51 -06:00 committed by Nathan Adams
parent d849e98902
commit c16705ceee
1 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,8 @@ fn parse_parameters(opt: &Opt) -> impl '_ + Iterator<Item = (String, String)> {
fn pick_file() -> Option<PathBuf> { fn pick_file() -> Option<PathBuf> {
FileDialog::new() FileDialog::new()
.add_filter(".swf", &["swf"]) .add_filter("Flash Files", &["swf", "spl"])
.add_filter("All Files", &["*"])
.set_title("Load a Flash File") .set_title("Load a Flash File")
.pick_file() .pick_file()
} }