EDIT: Never mind, I figured it out:
Code: Select all
function scriptDialog:OnOK()
if (self.d == nil) then
--dialog has been closed with X button
end
end
![Confused :?](./images/smilies/icon_confused.gif)
Moderators: Víctor Paredes, Belgarath, slowtiger
Code: Select all
function scriptDialog:OnOK()
if (self.d == nil) then
--dialog has been closed with X button
end
end