[PyKDE] QPushButton on OS X: another peculiarity
Arve Knudsen
arve.knudsen at gmail.com
Wed Oct 11 18:05:00 BST 2006
I've stumbled onto another peculiar problem with QPushButton on OS X (and
PyQt 4.0.1). I have a dialog with only two buttons, "Next" and "Cancel". In
my code I make "Next" default, by calling setDefault(True) on it. However,
if I run the app as the root user, with "sudo", the "Cancel" button is
default! This does not happen with the regular user ("Next" is
default) ... Any ideas as to what is going on
here?
Thanks,
Arve Knudsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061011/a4c6fa95/attachment.html
More information about the PyQt
mailing list