mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-27 05:40:00 +03:00
call on cancel when x a dialog
This commit is contained in:
parent
1793d8e43b
commit
079cf341a9
1 changed files with 5 additions and 0 deletions
|
@ -14999,6 +14999,11 @@ class AutomaticDialog(T) : Dialog {
|
|||
}
|
||||
});
|
||||
|
||||
this.addEventListener((scope ClosedEvent ce) {
|
||||
if(onCancel)
|
||||
onCancel();
|
||||
});
|
||||
|
||||
//this.children[0].focus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue