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
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