From 3b9c7b8bee65a5521fd72212a843c232e8f4951d Mon Sep 17 00:00:00 2001 From: ry755 Date: Sun, 30 Jan 2022 02:50:01 -0800 Subject: [PATCH] fox32: Set title of open file dialog --- src/disk.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/disk.rs b/src/disk.rs index fa617db..96fb998 100644 --- a/src/disk.rs +++ b/src/disk.rs @@ -38,6 +38,7 @@ impl DiskController { .add_filter("f32 Binary", &["f32"]) .add_filter("Raw Binary", &["bin"]) .add_filter("All Files", &["*"]) + .set_title(&format!("Select a file to mount")) .pick_file(); match path { Some(path) => Some(File::open(path).unwrap()),