From 0c79948da5302188e148f67434cd2280d768490b Mon Sep 17 00:00:00 2001 From: "Prof. Dr. Andreas Noack" Date: Sat, 19 Feb 2022 13:21:12 +0100 Subject: [PATCH] fix #937 (#938) --- src/urh/ui/views/SelectableGraphicView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urh/ui/views/SelectableGraphicView.py b/src/urh/ui/views/SelectableGraphicView.py index 2269a0b408..bead32d6fb 100644 --- a/src/urh/ui/views/SelectableGraphicView.py +++ b/src/urh/ui/views/SelectableGraphicView.py @@ -181,7 +181,7 @@ def mouseMoveEvent(self, event: QMouseEvent): return if self.selection_area.selected_edge == 1: - start = QPoint(self.selection_area.x, self.selection_area.y) + start = QPoint(int(self.selection_area.x), int(self.selection_area.y)) end = self.mapToScene(event.pos()) self.__set_selection_area(w=end.x() - start.x(), h=end.y() - start.y())