Followup to #17 .
STR:
- Select a device.
- Connect a new serial device.
Expected: device from 1 remains selected.
Actual: the combox box resets to the first item in the list.
This may require using beginRemoveRows()/beginAddRows() instead of resetting the model - but the docs are not entirely clear about whether this is relevant for model updates.
https://doc.qt.io/qt-6/qabstractitemmodel.html#beginRemoveRows