diff --git a/src/boxes.rs b/src/boxes.rs index ba89499..accfae1 100644 --- a/src/boxes.rs +++ b/src/boxes.rs @@ -71,6 +71,7 @@ impl RomBox { &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] ); + dialog.set_modal(true); dialog.run_async(|d, r| { match r { ResponseType::Accept => d.close(), @@ -132,12 +133,13 @@ impl PatchBox { self.patch_button.connect_clicked(clone!(@weak self as this => move |_| { let dialog = FileChooserDialog::new::( - Some("Choose a ROM"), + Some("Choose a Patch"), Some(&app), FileChooserAction::Open, &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] ); + dialog.set_modal(true); dialog.run_async(|d, r| { match r { ResponseType::Accept => d.close(),