Make dialog close button actually close the dialog
This commit is contained in:
parent
ac4b64a01d
commit
1b13c1cc43
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ onWindowClosed: func
|
||||||
{
|
{
|
||||||
logprint(LOG_WARN, "XMLDialog window was requested to closed");
|
logprint(LOG_WARN, "XMLDialog window was requested to closed");
|
||||||
me.dialog().close();
|
me.dialog().close();
|
||||||
|
|
||||||
|
# hack: manually trigger onClose for now. This should happen automatically
|
||||||
|
# in response to dialog().close().
|
||||||
|
me.onClose();
|
||||||
},
|
},
|
||||||
|
|
||||||
onBringToFront: func()
|
onBringToFront: func()
|
||||||
|
|
Loading…
Add table
Reference in a new issue