Skip to content

Commit 37b2049

Browse files
Update ardupilot_methodic_configurator/frontend_tkinter_component_editor_base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Amilcar Lucas <amilcar.lucas@iav.de>
1 parent 57c1e3f commit 37b2049

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ardupilot_methodic_configurator/frontend_tkinter_component_editor_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def _update_widget_value(self, path: ComponentPath, value: str) -> None:
333333

334334
@staticmethod
335335
def set_combobox_entries_preserving_width(
336-
combobox: PairTupleCombobox, entries: list[tuple[str, str]], selection: Union[str, None]
336+
combobox: PairTupleCombobox, entries: list[tuple[str, str]], selection: Optional[str]
337337
) -> None:
338338
"""Set combobox entries while preserving the currently configured widget width."""
339339
width: Optional[int] = None

0 commit comments

Comments
 (0)