urh crashes when modifying an existing selection in 'Interpretation' view
Steps To Reproduce
Go to 'Interpretation' tab
Select a rectangular area of the signal
Try to grab the right border of the selection and move it to the left
See error under 'Screenshots'
Screenshots
Error message:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urh/ui/views/SelectableGraphicView.py", line 184, in mouseMoveEvent
start = QPoint(self.selection_area.x, self.selection_area.y)
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(int, int): argument 1 has unexpected type 'float'
QPoint(QPoint): argument 1 has unexpected type 'float'
Expected Behavior
Selection can be modified without a crash
Actual Behavior
urh crashes when modifying an existing selection in 'Interpretation' view
Steps To Reproduce
Screenshots
Error message:
Platform Specifications
Possible fix
cast the coordinates from float to int type in ui/views/SelectableGraphicView.py" line 184 (in mouseMoveEvent)