From 0a70d3f0601eed7d54cf2bc847fc93dc7bc9d9e0 Mon Sep 17 00:00:00 2001 From: Norbert Schechner <nieson@web.de> Date: Sun, 2 Mar 2014 15:39:35 +0100 Subject: gmoccapy_1_0_3 - pressing OFF button returns to manual mode ver. 1.0.3 - pressing the OFF button will bring you back to manual mode, because there is the "EXIT" button --- src/emc/usr_intf/gmoccapy/gmoccapy.py | 3 ++- src/emc/usr_intf/gmoccapy/release_notes.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/emc/usr_intf/gmoccapy') diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.py b/src/emc/usr_intf/gmoccapy/gmoccapy.py index e0d43de85..33d6cabf0 100755 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.py +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.py @@ -84,7 +84,7 @@ if debug: pass # constants -_RELEASE = "1.0.2" +_RELEASE = "1.0.3" _INCH = 0 # imperial units are active _MM = 1 # metric units are active _MANUAL = 1 # Check for the mode Manual @@ -1190,6 +1190,7 @@ class gmoccapy(object): self.widgets.tbtn_on.set_image(self.widgets.img_machine_off) self.command.state(linuxcnc.STATE_OFF) self._update_widgets(False) + self.on_hal_status_mode_manual(None) # The mode buttons def on_rbt_manual_pressed(self, widget, data = None): diff --git a/src/emc/usr_intf/gmoccapy/release_notes.txt b/src/emc/usr_intf/gmoccapy/release_notes.txt index 357dc2f8f..2b6df50c5 100755 --- a/src/emc/usr_intf/gmoccapy/release_notes.txt +++ b/src/emc/usr_intf/gmoccapy/release_notes.txt @@ -1,3 +1,7 @@ +ver. 1.0.3 +- pressing the OFF button will bring you back to manual + mode, because there is the "EXIT" button + ver. 1.0.2 - solved a spindle button issue and included a check so it is no possible to exceed the limits of the spindle with -- cgit v1.2.3