What could cause an NSAlert to not dismiss on a button press?
What could cause an NSAlert to not dismiss on a button press?
- Subject: What could cause an NSAlert to not dismiss on a button press?
- From: Graham Westlake <email@hidden>
- Date: Wed, 13 Jul 2011 13:58:13 +0100
I'm showing an NSAlert with runModal, but despite the buttons being responsive, the alert box will not dismiss and runModal never returns. I can't understand what state the run loop is in for this to be happening.
It's actually a Qt application, and I am showing the alert at startup in response to a timer event. It's not a fundamental problem with Qt though; I am able to display NSAlerts successfully elsewhere in the app. I'm also able to use NSAlerts in response to a Qt timer in a test app, and of course in response to an NSTimer in a pure Cocoa app.
Does anyone have an idea as to what might be going on?
Thanks,
Graham Westlake
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden