mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge branch 'main' into aqt-strict-optional-overview
This commit is contained in:
commit
677664dea3
2 changed files with 7 additions and 1 deletions
|
@ -46,6 +46,8 @@ strict_optional = True
|
|||
strict_optional = True
|
||||
[mypy-aqt.overview]
|
||||
strict_optional = True
|
||||
[mypy-aqt.customstudy]
|
||||
strict_optional = True
|
||||
[mypy-anki.scheduler.base]
|
||||
strict_optional = True
|
||||
[mypy-anki._backend.rsbridge]
|
||||
|
|
|
@ -144,7 +144,11 @@ class CustomStudy(QDialog):
|
|||
form.spin.setValue(current_spinner_value)
|
||||
form.preSpin.setText(text_before_spinner)
|
||||
form.postSpin.setText(text_after_spinner)
|
||||
form.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setText(ok)
|
||||
|
||||
ok_button = form.buttonBox.button(QDialogButtonBox.StandardButton.Ok)
|
||||
assert ok_button is not None
|
||||
ok_button.setText(ok)
|
||||
|
||||
self.radioIdx = idx
|
||||
|
||||
def accept(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue