I've enabled mypy and pylint on segmentDialog.py so simple errors like the one that caused the current bug will be caught be static analysis in the future. As a second step I could also add a test for the dialog. But I'd maybe do that in a separat pull request to fix master ASAP.
This fixes https://github.com/SPF-OST/pytrnsys_gui/issues/395.
I've enabled
mypy
andpylint
onsegmentDialog.py
so simple errors like the one that caused the current bug will be caught be static analysis in the future. As a second step I could also add a test for the dialog. But I'd maybe do that in a separat pull request to fix master ASAP.