Am 28.01.2011 20:48, schrieb Hugo Parente Lima:
On Friday 28 January 2011 17:08:23 Dietmar Schwertberger wrote:
Am 23.01.2011 13:37, schrieb Dietmar Schwertberger:
Somehow I can't manage to make a button to act as default button in a
dialog the way I want to.
Why it's a bug, It work the way you want to on C++ or PyQt4?
OK, after trying with PyQt, I found the reason.
I did not expect that I need to connect the default button to the accept
method myself:
findButton.clicked.connect(dlg.accept)
On all other platforms that I have been using, this is the default
behaviour for modal dialogs...
Regards,
Dietmar
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside