added comments

This commit is contained in:
Wyatt J. Miller 2022-05-23 20:32:16 -04:00
parent 86ffcebd1b
commit cafd46ad82

View File

@ -71,6 +71,7 @@ impl RomBox {
&[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)]
); );
// here's to set the dialog to be modal
dialog.set_modal(true); dialog.set_modal(true);
dialog.run_async(|d, r| { dialog.run_async(|d, r| {
match r { match r {
@ -139,6 +140,7 @@ impl PatchBox {
&[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)] &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)]
); );
// here's to set the dialog to be modal
dialog.set_modal(true); dialog.set_modal(true);
dialog.run_async(|d, r| { dialog.run_async(|d, r| {
match r { match r {