diff --git a/Nasal/gui/XMLDialog.nas b/Nasal/gui/XMLDialog.nas index b8c293eda..62e2c6c23 100644 --- a/Nasal/gui/XMLDialog.nas +++ b/Nasal/gui/XMLDialog.nas @@ -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()