Report question

Question: How do I prevent the enter key from closing my QDialog (Qt 4.8.1)