We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8419ff5 commit de2d450Copy full SHA for de2d450
pyqt-calculator-tutorial/examples/dialog.py
@@ -27,7 +27,8 @@ def __init__(self, parent=None):
27
formLayout.addRow('Hobbies:', QLineEdit())
28
dlgLayout.addLayout(formLayout)
29
btns = QDialogButtonBox()
30
- btns.setStandardButtons(QDialogButtonBox.Cancel | QDialogButtonBox.Ok)
+ btns.setStandardButtons(
31
+ QDialogButtonBox.Cancel | QDialogButtonBox.Ok)
32
dlgLayout.addWidget(btns)
33
self.setLayout(dlgLayout)
34
0 commit comments