mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
V -> ValueType
https://github.com/ankitects/anki/pull/2472#issuecomment-1513507162
This commit is contained in:
parent
1ff27b4ab7
commit
7c225fb5cd
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ class SelectStockNotetype(QDialog):
|
||||||
QDialog.reject(self)
|
QDialog.reject(self)
|
||||||
|
|
||||||
def accept(self) -> None:
|
def accept(self) -> None:
|
||||||
kind = cast(StockNotetype.Kind.V, self.dialog.models.currentRow())
|
kind = cast(StockNotetype.Kind.ValueType, self.dialog.models.currentRow())
|
||||||
QDialog.accept(self)
|
QDialog.accept(self)
|
||||||
# On Mac, we need to allow time for the existing modal to close or
|
# On Mac, we need to allow time for the existing modal to close or
|
||||||
# Qt gets confused.
|
# Qt gets confused.
|
||||||
|
|
Loading…
Reference in a new issue