Comment 4 for bug 46600

Revision history for this message
Michael Terry (mterry) wrote :

I pushed a fix for the original complaint: that pressing Enter doesn't activate those buttons, by marking Back/Forward/Quit as 'AutoDefault'. They were always activatable by pressing Space.

Colin, to address your issue, seems that the main window has to be a QDialog. The Qt documentation suggests that the whole default-button-logic only works inside of QDialogs... [1]

I'm leaving this bug open for the default-button issue.

[1] http://qt.nokia.com/doc/4.5/qpushbutton.html#default-prop