Trigger Button_Action event with 'Enter'
I have in my dialog 2 buttons "OK" and "Cancel".
The dialog is to be operated completely with the keyboard.
How can I trigger with the Enter-Key the "action" event for the selected button?
The "setDefaultButton"-function is not possible in this case.
I have in my dialog 2 buttons "OK" and "Cancel".
The dialog is to be operated completely with the keyboard.
How can I trigger with the Enter-Key the "action" event for the selected button?
The "setDefaultButton"-function is not possible in this case.