From cafd46ad825b85738edcb5590be723aaab580656 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 23 May 2022 20:32:16 -0400 Subject: [PATCH] added comments --- src/boxes.rs | 2 ++ 1 file changed, 2 insertions(+) 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 {