GUI: Fix menu not loading in beam location mode
This commit is contained in:
1 parent
a3d937fb07
commit
0c347783b7
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user