Skip to content

Commit 7ab1b6b

Browse files
Sigma1912hansu
authored andcommitted
Gmoccapy offsetpage: Fix 'Rot' column not calling the calculator on editing
(Feature was introduced in #3471)
1 parent c962c88 commit 7ab1b6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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):
@@ -2369,7 +2369,7 @@ def _init_offsetpage(self):
23692369
names.append([system, name])
23702370
self.widgets.offsetpage1.set_names(names)
23712371
for col, name in enumerate(AXISLIST):
2372-
if col > 9:break
2372+
if col > 10:break
23732373
temp = self.widgets.offsetpage1.wTree.get_object("cell_%s" % name)
23742374
temp.connect('editing-started', self.on_offset_col_edit_started, col)
23752375

0 commit comments

Comments
 (0)