Skip to content

Commit 1cb7b55

Browse files
authored
Merge pull request #1706 from hansu/gmoccapy-fix-buttonstate-settings-2.8
Gmoccapy: fix button state when enter setting page from MDI or Auto Mode 2.8
2 parents d379e05 + 98770a3 commit 1cb7b55

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2679,7 +2679,8 @@ def on_hal_status_motion_mode_changed(self, widget, new_mode):
26792679
state = True
26802680
if self.stat.task_state != linuxcnc.STATE_ON:
26812681
state = False
2682-
self._sensitize_widgets(widgetlist, state)
2682+
if not self.widgets.tbtn_setup.get_active():
2683+
self._sensitize_widgets(widgetlist, state)
26832684

26842685
def on_hal_status_metric_mode_changed(self, widget, metric_units):
26852686
print("hal status metric mode changed")

0 commit comments

Comments
 (0)