1
0
Fork 0

Make dialog close button actually close the dialog

This commit is contained in:
TheFGFSEagle 2023-10-08 19:31:20 +02:00 committed by James Turner
parent ac4b64a01d
commit 1b13c1cc43

View file

@ -48,6 +48,10 @@ onWindowClosed: func
{
logprint(LOG_WARN, "XMLDialog window was requested to closed");
me.dialog().close();
# hack: manually trigger onClose for now. This should happen automatically
# in response to dialog().close().
me.onClose();
},
onBringToFront: func()