Verified Commit 8c7e86f2 authored by Mateusz Żebrak's avatar Mateusz Żebrak
Browse files

Add assertions while changing ListView index in Select widget

Fixes mypy error:
- clive/ui/widgets/select/select_list.py:105: error: Unsupported operand types for + ("None" and "int")  [operator]
- clive/ui/widgets/select/select_list.py:105: note: Left operand is of type "Optional[int]"
- clive/ui/widgets/select/select_list.py:110: error: Unsupported operand types for - ("None" and "int")  [operator]
- clive/ui/widgets/select/select_list.py:110: note: Left operand is of type "Optional[int]"
parent 7f34b292
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment