From 6a319071c0eeb208147cb37f517f7c9c38d888e3 Mon Sep 17 00:00:00 2001 From: ry755 Date: Sun, 30 Jan 2022 02:49:07 -0800 Subject: [PATCH] fox32: Allow any file type to be selected for mounting --- src/disk.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/disk.rs b/src/disk.rs index 1aaf4bb..fa617db 100644 --- a/src/disk.rs +++ b/src/disk.rs @@ -34,9 +34,10 @@ impl DiskController { } pub fn select_file(&self) -> Option { let path = FileDialog::new() - .add_filter("disk image", &["img", "dsk"]) - .add_filter("f32 binary", &["f32"]) - .add_filter("raw binary", &["bin"]) + .add_filter("Disk Image", &["img", "dsk"]) + .add_filter("f32 Binary", &["f32"]) + .add_filter("Raw Binary", &["bin"]) + .add_filter("All Files", &["*"]) .pick_file(); match path { Some(path) => Some(File::open(path).unwrap()),