GUI: Fix menu not loading in beam location mode

This commit is contained in:
leonarski_f committed 2025-06-30 14:44:30 +02:00
1 parent a3d937fb07
commit 0c347783b7
1 file changed
+2
+2
View File
@@ -118,6 +118,8 @@ class SampleCameraImageLabel(QGraphicsView):
self.start_point = self.mapToScene(event.pos())
match self.__state:
case SampleCameraImageState.BEAM_MARKING:
self.click_timer.start(self.right_click_hold_threshold)
case SampleCameraImageState.IDLE:
self.click_timer.start(self.right_click_hold_threshold)
if event.button() == Qt.MouseButton.RightButton: