mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix close button for add cards dialog (#1496)
This commit is contained in:
parent
88a637251b
commit
c1c9b6c065
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ class AddCards(QMainWindow):
|
|||
self.closeButton = QPushButton(tr.actions_close())
|
||||
self.closeButton.setAutoDefault(False)
|
||||
bb.addButton(self.closeButton, QDialogButtonBox.ButtonRole.RejectRole)
|
||||
qconnect(self.closeButton.clicked, self.close)
|
||||
# help
|
||||
self.helpButton = QPushButton(tr.actions_help(), clicked=self.helpRequested) # type: ignore
|
||||
self.helpButton.setAutoDefault(False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue