Skip to content

Commit

Permalink
gmoccapy: refresh limit override check box immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
hansu committed Feb 13, 2022
1 parent 1dee1ba commit 2019bde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/emc/usr_intf/gmoccapy/gmoccapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2591,6 +2591,9 @@ def on_hal_status_limits_tripped(self, object, state, lst_limits):
if state:
# sensitize ntb_jog when limit tripped
self.widgets.ntb_jog.set_sensitive(True)
else:
# refresh immediately when limit is no longer active
self.widgets.chk_ignore_limits.set_active(False)

def on_hal_status_mode_manual(self, widget):
print ("MANUAL Mode")
Expand Down

0 comments on commit 2019bde

Please sign in to comment.