added comments
This commit is contained in:
parent
86ffcebd1b
commit
cafd46ad82
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user