I created a very basic example dialog with 2 qpushbuttons. I set default to true on one of them and I set autodefault to false on both of them. I then used pyuic4 to convert the .ui to a .py file and made a very simple wrapper to connect simple functions to both button's click events. <br>
<br>The expected behavior is that pressing enter should fire the default button's clicked handler no matter which button is currently focused, but I'm not getting that behavior. The default button is not getting clicked if i have the other button selected and I press enter.<br>
<br>I tried building the same example in qt/c++ and I didn't have this issue. Can anyone tell me if I'm doing something wrong. I've attached all 3 files I mentioned above.<br clear="all"><br>-- <br>-Zev<br>