From 55981fe146f954cc08433fd5c58e6bf0693021a4 Mon Sep 17 00:00:00 2001 From: lisham2000 Date: Fri, 24 May 2024 16:21:44 +0100 Subject: [PATCH] TypeChecking2 --- nion/swift/ExportDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nion/swift/ExportDialog.py b/nion/swift/ExportDialog.py index ffbc525b9..4e9dff3e9 100644 --- a/nion/swift/ExportDialog.py +++ b/nion/swift/ExportDialog.py @@ -203,7 +203,7 @@ def __init__(self, display_item: DisplayItem.DisplayItem, display_size: Geometry self.width_model = Model.PropertyModel(display_size.width) self.height_model = Model.PropertyModel(display_size.height) self.int_converter = Converter.IntegerToStringConverter() - self.units: int = Model.PropertyModel() + self.units: Model.PropertyModel = Model.PropertyModel() u = Declarative.DeclarativeUI() width_row = u.create_row(u.create_label(text=_("Width (in)"), width=80), u.create_line_edit(text="@binding(width_model.value, converter=int_converter)"), spacing=12)