diff --git a/src/boxes.rs b/src/boxes.rs index accfae1..0a1e10b 100644 --- a/src/boxes.rs +++ b/src/boxes.rs @@ -71,6 +71,7 @@ impl RomBox { &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] ); + // here's to set the dialog to be modal dialog.set_modal(true); dialog.run_async(|d, r| { match r { @@ -139,6 +140,7 @@ impl PatchBox { &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] ); + // here's to set the dialog to be modal dialog.set_modal(true); dialog.run_async(|d, r| { match r {