Skip to content

Commit

Permalink
TypeChecking2
Browse files Browse the repository at this point in the history
  • Loading branch information
lisham2000 committed May 24, 2024
1 parent dd33fdb commit 55981fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nion/swift/ExportDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 55981fe

Please sign in to comment.