Skip to content

Commit 4e88f64

Browse files
committed
Gmoccapy offsetpage: Fix 'Rot' column not calling the calculator on editing
1 parent e56f364 commit 4e88f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def excepthook(exc_type, exc_obj, exc_tb):
123123
ALERT_ICON = "dialog_warning"
124124
INFO_ICON = "dialog_information"
125125

126-
AXISLIST = ['offset', 'X', 'Y', 'Z', 'A', 'B', 'C', 'U', 'V', 'W', 'name']
126+
AXISLIST = ['offset', 'X', 'Y', 'Z', 'A', 'B', 'C', 'U', 'V', 'W', 'Rot', 'name']
127127

128128
class gmoccapy(object):
129129
def __init__(self, argv):
@@ -2275,7 +2275,7 @@ def _init_offsetpage(self):
22752275
names.append([system, name])
22762276
self.widgets.offsetpage1.set_names(names)
22772277
for col, name in enumerate(AXISLIST):
2278-
if col > 9:break
2278+
if col > 10:break
22792279
temp = self.widgets.offsetpage1.wTree.get_object("cell_%s" % name)
22802280
temp.connect('editing-started', self.on_offset_col_edit_started, col)
22812281

0 commit comments

Comments
 (0)