From c16705ceeecb37abadba4069db19554312169562 Mon Sep 17 00:00:00 2001 From: nosamu <71368227+n0samu@users.noreply.github.com> Date: Sun, 15 Jan 2023 23:08:51 -0600 Subject: [PATCH] desktop: Add `.spl` to file dialog filter --- desktop/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/src/main.rs b/desktop/src/main.rs index cbd84ab38..6552684bc 100644 --- a/desktop/src/main.rs +++ b/desktop/src/main.rs @@ -160,7 +160,8 @@ fn parse_parameters(opt: &Opt) -> impl '_ + Iterator { fn pick_file() -> Option { FileDialog::new() - .add_filter(".swf", &["swf"]) + .add_filter("Flash Files", &["swf", "spl"]) + .add_filter("All Files", &["*"]) .set_title("Load a Flash File") .pick_file() }