Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Dialog crashy on OSX — Gideros Forum

Dialog crashy on OSX

edited January 2014 in General questions
Just out of curiosity, I took this from the manual and pasted on my code.

local textInputDialog = TextInputDialog.new("my title", "my message", "some text", "Cancel", "OK")

local function onCompleteDialog(event)
print(event.text, event.buttonIndex, event.buttonText)
end

textInputDialog:addEventListener(Event.COMPLETE, onCompleteDialog)
textInputDialog:show()

Then I noticed that even commenting out the line that adds the event listener, and the event listener definition, as soon as I click "OK" on the dialog box on OSX, Gideros Player crashes. clicking "cancel" is fine though.
I make games for children: http://www.kidoteca.com

Comments

Sign In or Register to comment.