Skip to content

Commit f4f39a0

Browse files
committed
qtplasmac: fix laser button state if bounds error during laser dry run
1 parent 9e76aa7 commit f4f39a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

share/qtvcp/screens/qtplasmac/qtplasmac_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4033,6 +4033,8 @@ def laser_timeout(self):
40334033
if framingError:
40344034
head = _translate('HandlerClass', 'Axis Limit Error')
40354035
STATUS.emit('error', linuxcnc.OPERATOR_ERROR, f'{head}:\n{framingError}\n')
4036+
self.laserButtonState = 'reset'
4037+
self.button_press_timeout('laser')
40364038
return
40374039
newX = STATUS.get_position()[0][0] - STATUS.stat.g5x_offset[0] - self.laserOffsetX
40384040
newY = STATUS.get_position()[0][1] - STATUS.stat.g5x_offset[1] - self.laserOffsetY

0 commit comments

Comments
 (0)