|
1 | | -VERSION = '1.227.212' |
| 1 | +VERSION = '1.227.213' |
2 | 2 |
|
3 | 3 | ''' |
4 | 4 | qtplasmac_handler.py |
@@ -595,13 +595,11 @@ def new_process_error(self, w, kind, text): |
595 | 595 | N.update(O.notify_hard_limits, title='Machine Error:', message=text, msgs=O.notify_max_msgs) |
596 | 596 | elif 'jog-inhibit' in text: |
597 | 597 | if self.w.led_float_switch.hal_pin.get(): |
598 | | - trigger = _translate('HandlerClass', 'Float Switch') |
| 598 | + text = _translate('HandlerClass', 'Float Switch has disabled jogging') |
599 | 599 | elif self.w.led_ohmic_probe.hal_pin.get(): |
600 | | - trigger = _translate('HandlerClass', 'Ohmic Probe') |
| 600 | + text = _translate('HandlerClass', 'Ohmic Probe has disabled jogging') |
601 | 601 | elif self.w.led_breakaway_switch.hal_pin.get(): |
602 | | - trigger = _translate('HandlerClass', 'Breakaway Switch') |
603 | | - msg0 = _translate('HandlerClass', 'has disabled jogging') |
604 | | - text = '{} {}\n'.format(trigger, msg0) |
| 602 | + text = _translate('HandlerClass', 'Breakaway Switch has disabled jogging') |
605 | 603 | N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs) |
606 | 604 | elif kind == linuxcnc.OPERATOR_ERROR: |
607 | 605 | N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs) |
|
0 commit comments