Damien Elmes 2023-04-19 16:43:23 +10:00
parent 1ff27b4ab7
commit 7c225fb5cd

View file

@ -944,7 +944,7 @@ class SelectStockNotetype(QDialog):
QDialog.reject(self)
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)
# On Mac, we need to allow time for the existing modal to close or
# Qt gets confused.